I’m trying to add a message to the order-received (Thank You) page, only if the order is using Free Shipping. The message can either replace the standard “Thank you…” message, or can be in addition …
Tag: shipping-method
Add an additional cost to flat rate shipping each 3 items in Woocommerce
I’m running a woocommerce shop and using a Flat Rate shipping $15. I have written a formula to add $1.25 for each additional item. 13.50 + ( 1.25 * [qty]) Sipping “flat rate settings | $1.25 for …
Hide shipping methods based on products categories in Woocommerce
With Woocommerce, I would like to hide all shipping methods except “Local pickup” when a defined products category is in cart… The code below does that for other product types, except variable products: What can I do to make it work for variable products too? Any help is appreciated. Answer I have revisited your code and here is correct way
Shipping carrier custom fields validation in Woocommerce checkout page
I have added two custom input fields in the shipping method section by changing the template /genesis-sample/woocommerce/checkout/review-order.php I have also managed to get them conditionally required. Only when the specific radio button is checked, the input fields appear and become required. I am using jQuery code to make the fields appear and disappear. All of this is working fine. The
Get orders shipping items details in WooCommerce 3
How can I get the order shipping method id.? For example ‘flate_rate’. Since WooCommerce 3 it is now complicated as everything has changed. I have tried it with $order->get_data() in a foreach loop but the data is protected. Answer If you want to get the Order Items Shipping data, you need first to get them in a foreach loop (for