Category Archives: WooCommerce Tutorials

How to add a surcharge based on the delivery of state?

Write some new code for it…I'll do it for you this time: add_action( 'woocommerce_cart_calculate_fees','woocommerce_custom_surcharge' ); [...]

Different Minimum Order Amounts Based on Shipping Zone

I am trying to implement a different minimum order requirement based on the shipping zone [...]

Prevent access to checkout without shipping method in WooCommerce

You should better try with the “Chosen shipping method” from WooCommerce session like: function disable_checkout_button_no_shipping() [...]

Removing Checkout Button When Shipping is Not Available

It’s easy to miss the small notification that appears when no shipping methods are available. [...]

Set minimum allowed weight for a specific country in WooCommerce

I have revisited your code and make it work just for colombia with a minimal [...]

How to remove county field (or billing_state) on checkout if country is UK/GB?

I got what you need. Lost the original source to credit but use this code. [...]

This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.