Before adding snippets, clear your WooCommerce cache. Go to WooCommerce > System Status > Tools > WC Transients > Clear transients, as shipping methods are cached.
Snippets for WC 2.6+
Hides everything but free_shipping if it’s available and is compatible with Shipping Zones.
Snippets for WC 2.5
Show only free shipping in all states except… ↑ Back to Top
Show only free shipping in all states except exclusion list. Hide free shipping if the customer is in one of the states listed:
Enable Shipping Methods on a per Class / Product Basis ↑ Back to Top
Need more flexibility? We recommend this free plugin!