Stay on top with regular WordPress updates.
Subscribe to our newsletter(s) and get the latest stories in your mailbox!
Stay on top with regular WordPress updates.
Subscribe to our newsletter(s) and get the latest stories in your mailbox!
This snippet enables you to set flat rate shipping based on zip or post code. It’s a very basic piece of code and very easy to use.
There’s 2 simple steps :
All you need to do is set the flat rate shipping method for your shipping zone. In your WordPress Dashboard, Go to WooCommerce > Settings > Shipping, add or edit an existing zone and add a flat rate shipping method. If you set the cost to 0, any zip code not included in your code will be set to free shipping. If you add a cost, any postal code not
This is the first part of the article