Thread Starter
Holyto
(@holyto)
Working like a charm! Now the plugin deserves 5-stars. Thank you a lot! 🙂
p.s.
For older WooCommerce use $order->id instead of $order->get_id().
-
This reply was modified 7 years, 10 months ago by Holyto.
Thread Starter
Holyto
(@holyto)
Now I’m sorry that I ever bought YIT products, they’re a pain in the ass in customizing…
Excellent solution.
And would it be possible to set the filter for a certain shipping class?
Is there a way to apply his filter for the order subtotal?
For example, if the cart subtotal is less that 50, the “COD” option shall be hidden.
Do you have any idea on how to achieve that?