Which action precedes the `woocommerce_save_product_variation` action hook?
Can anyone tell me which action precedes the woocommerce_save_product_variation action hook? I'm trying to save old price and quantity before updating product variation
Can anyone tell me which action precedes the woocommerce_save_product_variation action hook? I'm trying to save old price and quantity before updating product variation
I am looking to round the last digit of product prices in WooCommerce with a PHP function, based on 3 rules. Price has to include cents and it does not matter if it gets rounded up or down. If end…
I need add a custom data on Processing order email, but the data always update after the email is sent, like this: Order status change ==> Send email ==> Insert data on custom table (plugin) What I need instead is:…
I want to create a code snippet that completes a Woocommerce order based on a specific order note (“Budbee order status: Delivered”). I am using a hook to do this and I have some code but it doesn’t work. Can…
I need to change the cart and checkout currency based on the product category. So if the category is "clothing", then the currency on the cart and checkout should be EUR (and charge needs to happen in EUR). Otherwise, if…
Please guys, 1° i'm trying to create a custom field to BACS account details page (Admin Area), so can i display in my thankyou page and the same time send per e-mail. 2° i'm following what this article says, but…
I have a WooCommerce store and am using the 'Advanced Dynamic Pricing for Woocommerce' plugin. I need to use this plugin because I have discount structures set up Percentage discounts have been applied to all products in store. The original…
I'm trying to change the Woocommerce's product default currency based on the category. Like if "Audio" is a category then set the EUR to be the currency. I've tried the code below but it's not working: function change_woocommerce_currency( $currency )…
I have created the following plugin, which is supposed to send a POST HTTP request to an external server when a Woocommerce order is created. However, this is not happening: no request received on the external server, nothing is showing…
I'm trying to update the tax class based on the category being set. I need to use the Reduced Rate for everything in my category "Books". The category ID is 133, and I'm currently using this filter, but it's not…