I am using tiered pricing for wholesale price and retail price.. but sometime I need to create order for those who don’t know how to use the website. Tiered pricing work perfect on the website, it update the wholesale price when the variable product quantity greater than the limit set by admin. But in admin order dashboard, variable product (for example two same product of different colors) don’t trigger the price change. It does work for a single product that goes over the quantity limit.
How should I make it work for variable product of the same type? Please help..Is there anything I could do?
]]>Thank you for your help!
]]>I need help with the stock buttons on the order details page in admin, From where I can quickly update the ordered item stock of the ordered item. As currently, we need to edit the product, and then we have to update the quantity of the product. It took ages to edit each product stock. I just need an option on the admin order page from where I can update stock manually every time whenever I get an order on the woo-commerce website.
Thanks in advance
]]>Is there a workaround, setting, pluging, snippet that can fix this ie: make an automated caclculation upon adding products or adding the tax whenever the product is added instead of needing to hit recalculatet?
]]>my WordPress installation is completely Dutch and my date format in the WP settings specify that it shoud be: “dd-mm-yyyy”.
However when adding a new admin order, the create date is specified as “yyyy-mm-dd” and the Datepicker acts accordingly.
No biggie, but confusing for my Dutch client and after many hours of googling, I can’t seem to find the hook where to change this.
]]>add_filter( 'woocommerce_admin_billing_fields', admin_single_order_custom_addresses_fields' );
function admin_single_order_custom_addresses_fields( $fields )
{
$fields_2 = array(); // Initializing
foreach ( $settings as $field_key => $field_label )
{
$fields_2['license'] = array(
'label' => 'License',
'show' => '0',
'type' => 'select',
'wrapper_class' => 'form-field-wide',
);
}
foreach( $fields as $key => $field_data )
{
$fields_2[$key] = $field_data;
}
return $fields_2; // return sorted fields
}
When I make this new field ‘text’ instead ‘select’, I can easily update the value when I select a customer for a new order, by using:
add_filter( 'woocommerce_ajax_get_customer_details' , 'add_custom_fields_to_ajax_customer_details', 10, 3 );
function add_custom_fields_to_ajax_customer_details( $data, $customer, $user_id )
{
$data['billing']['license'] = "something";
}
but I want ‘license’ to be a dropdown and use ‘woocommerce_ajax_get_customer_details’ to update the options of that select-field. Somehow I cannot for the life of me get it working. I have tried:
$data['billing']['license']['options'] = array("something" => "somevalue");
and I have tried:
$data['billing']['license'] = array(
'options' => array("something" => "somevalue"),
);
but neither one updates the new ‘License’ billing field. What am I missing?`
]]>are the extra addresses visible when I create a customer order via the WP admin?
Cheers,
Cees
]]>I am looking for the hook that fires when creating an admin order and the customer has been searched and selected (so when the Billing and Shipping details are loaded).
After googling for several hours I was told it is “woocommerce_ajax_get_customer_details”, but that does not seem to do anything.
Can anyone think of such a hook?
Cheers,
Cees
]]>I’ve been using it for a while now, it seems that since the last update, when adding a new order via WooCommerce Orders section in Dashboard, new orders are not starting at the correct number. While the plugin is setup to start on 2778 for example, new orders placed via the frontend are created with the correct (next number), however, orders created by admin start with 18871 ?! I’ve reviewed all settings and cannot work out how/why this started happening or where the number comes from, and can only relate it to the last update. Any help would be much appreciated.
I’m scared to use the renumerate button as I’m unclear of if/how it may effect existing orders and there are thousands since we started using the plugin.
Appreciate any help you might be able to provide and happy to give more detail in email/messages.
Thank you.
]]>