With the introduction of shipping zones, creating shipping rates by country is super easy. We are going to learn how to create flat rates shipping for two different countries in this post.
For this example, we are going to create flat shipping rate for Vietnam and Germany. The store is located in Vietnam so the flat rate for this country is $5. Shipping to Germany will be higher, $15 in our case.
Let’s go to WooCommerce->Settings->Shipping and click on Add shipping zone.
Let’s go ahead and enter zone name and zone regions. In the image above, we created a shipping zone for Germany. Now, let’s go ahead and click on Add shipping method for this zone. We are going to create one flat rate shipping method for each zone.
Click on add shipping method, you will get a shipping method like below. Click on the edit button to enter its details:
Click on Save changes and you are done for Germany. Let’s do the same for Vietnam. You’ll get something like this after creating flat shipping for these two countries.
Now you are done. Let’s place test order and see how the shipping based on country works.
Place a test order
Now we have a test order. Let’s go to the cart page, you will see the appropriate shipping rate applied:
As you can see, the shipping fee is $5, which is exactly what we set when we created the shipping method for Vietnam.
Wait! It doesn’t work for me
If you find the method above doesn’t work for your store, chances are some other plugins or custom code has modified one of the shipping hooks. (`woocommerce_package_rates` for example). In such case, you may need to find the plugin that does that and deactivate it for this method to work.
As you can see, you can easily set flat shipping for each country. You are not limited to shipping based on countries though. If you want a simpler shipping structure, you can set a flat rate for regions like Asia/Africa… However, doing so reduce the level of control over your shipping rates. The choice is yours.
How useful was this post?
Click on a star to rate it!
Average rating / 5. Vote count: