How to Configure State-based Rules Manually Using the WooCommerce Table Rate Shipping Plugin

In this article, we will explain how to configure state-based rules manually using the WooCommerce Table Rate Shipping Plugin. Read along to know more.

Understanding the Business Case

The WooCommerce Table Rate Shipping Pro along with the City As Drop-Down List add-on is the best solution available in the market to handle both easy and complex business scenarios. by default, WooCommerce does not provide state list as a drop-down for Egypt country. You can easily set up rules to configure State-based rules via CSV using the plugin. Let’s check out a unique business of one of our customers and see how this plugin can fulfill it.

My online store is in Egypt and I cannot find an option to add states in Egypt. Does your plugin support this?
The customer also had the following queries:
Is there a way to have a drop-down list for my country Egypt (cities or states) through your plugin?
How can I add the states manually in the plugin settings?

Solution

State list for Egypt: By default, WooCommerce does not provide state list as a drop-down for Egypt country. Therefore, you would need to manually provide the State names and city names in the plugin settings using a CSV upload. You can add the state codes to the shipping rules via CSV file and then import the shipping rules.

Follow the steps below to configure the State-based manually:

Step 1: Head to Shipping Pro < Settings. Select the columns which are used in the matrix as shown below. Please Save changes to reflect the modifications.

matrix

Step 2: Under Shipping Rules, add the country (Egypt). Since WooCommerce does not provide state list as a drop-down for Egypt country, you have to manually add the state list via CSV. You can give the shipping name accordingly.

country

Step 3: Now, head to the Import/Export section. Click on export so that the CSV file is downloaded.

Export

Now, enter the state list in the exact format as shown below. Make sure that all the state values in Upper Case.

format

Step 4: Now, click on Import so that the CSV is uploaded to the plugin settings. Now, the state list will be displayed in the store.

import

Now, if you want to add cities, head to shipping rules under the plugin settings. Add the city names according to your need and separate them using a semicolon. Here is an example;

cities

You can also add the cities using the CSV Import/Export feature. Export the shipping rules and enter the cities in the CSV file. Once it is done, you can import the file.

import csv

 

Conclusion

And that’ show to configure state-based rules via CSV using the WooCommerce Table Rate Shipping Plugin. We hope this guide would have helped you configure your business case as well. Check out WooCommerce Table Rate Shipping Pro for more information and features.

If you have any doubts or need help setting up Tabel rate shipping on your WooCommerce-based website then feel free to Contact PluginHive Customer Support. Our support team should be able to help you out.