Restrict WooCommerce Shipping Calculator to Specific Countries and States

Here is how you can restrict specific Countries and States in WooCommerce Shipping Calculator, so a user can only select from what is available.CountriesThe Countries field is handled inside WooCommerce General Settings. Change the ‘Selling Location’ to ‘Sell to specific…
Show only free shipping option on WooCommerce cart and checkout pages

By default WooCommerce will show all available shipping options on cart and checkout pages, if you have free shipping as an option you may just want that displayed by itself. The code snippet below which needs to be added to…