In WooCommerce 3, I have these shipping options (settings):
- Free Shipping:
free_shipping:1
- Minimum order amount is set at$50
. - Normal Shipping
flat_rate:3
- Amount$5
. - Express Shipping
flat_rate:5
- Amount$10
.
I would like Express Shipping option to be always available (shown).
But when Free shipping is available (meaning that the customer has more than $50 in the cart) I would like to hide Normal Shipping only.
So when Free shipping
is NOT available (and hidden), the available shipping rates will be Normal Shipping and Express Shipping.
Is that possible? How can I get this on WooCommerce 3?
Based on the official WooCommerce snippet code, making some light changes, you will be able to hide only your first flat rate when free shippings is available:
Code goes in function.php file of your active child theme (or theme) or also in any plugin file.
Tested on WooCommerce 3 and works.