shipping : show only Flat Rate or Free Shipping on cart page
-
Hi,
I want to setup a pretty simple shipping rule for my local Shipping Zone :
- Flat rate shipping of €3 if order total is below 100€
- Free shipping if order total is 100€ and above
So I have added and enabled 2 shipping methods in the zone : a Flat rate with cost €3, and a Free Shipping requiring a minimum order amount of €100.
The problem is that during checkout the customer is presented with a list of 2 options for shipping (Flat Rate and Free Shipping). If the customer selects Free Shipping, Woocommerce proceeds to payment with free shipping even if the order is below €100.Ideally, no options at all should be shown during checkout : If order total is below €100 a shipping of €3 should be added. If order is €100 and above the “Free Shipping” should be displayed on the “Shipping” line.
While trying to fix this, I tried the snippet shown at https://woocommerce.com/document/free-shipping/#hide-all-other-shipping-methods-when-free-shipping-is-available, however this resulted to showing only “free shipping” for all orders, even the ones below €100.
Any ideas on how to fix this ?
Thank you
- The topic ‘shipping : show only Flat Rate or Free Shipping on cart page’ is closed to new replies.