Blog Thumbnail

Set up Category Based Flat Rate Shipping in WooCommerce

Have you started selling electronic appliances, grocery, and clothing accessories in one store?

If yes, you must be thinking about how to apply different shipping rates to different categories; because it’s not something you can do using WooCommerce by default. Moreover, there are many things that cannot be done using the default flat-rate shipping methods of WooCommerce. So you will need an advanced Rate Shipping Method for the WooCommerce plugin to meet the different types of customer needs.

Once you have installed this plugin, setting up category-based flat-rate shipping charges becomes very easy. Additionally, you can imply the category-based shipping rates for various conditions.

In this how-to guide, you will read about ‘how to set up WooCommerce shipping based on product category’. We have tried covering multiple situations for the same so that real store owners can benefit from it:

Part 1: Adding Method

The first task to begin towards creating category-based shipping restrictions is creating a rule in the dashboard of this plugin, which you must have installed (See above, if not).

Add New Shipping Method 4

Now go to the ‘Add New Shipping Method’ section and fill in the basic details related to your plugin. The name of the method, shipping rates, tooltip description, start date of the offer, end date of the offer, taxation status, and estimated delivery time could be added through this form.

You will find the process easy and simple.

The form looks something like this:

Shipping rule configuration settings

Now, you have partially filled out the form. The next thing needed is to add related rules so that the method can work the way you want.

Set shipping method rules

Part 2:  Adding Rules to a Method

 On the same page as we were on, you will find a section to add rules.

This window lets you handle multiple constraints by implementing different rules in that. You can handle shipping charges for your products in different ways through it.

You may add one rule or a set of rules, in order to apply the desired shipping rates to your products.

How to Handle Category-based Flat Rate Shipping Method?

Some online store owners may want to apply a shipping charge of $10 on their clothing products
while exporting them. On the other hand, some may want to make an LCD TV’s shipping charge zero. This plugin can be used for both such tasks and many more.

So, we have created a few realistic cases that will demonstrate to you how to do such things:

Case 1: Adding Shipping Charges When a Cart Contains a Category Product

You have already learned how to add a rule, right? So, this is the time to create one.

Choose ‘Cart contains the category’s product’, ‘equal to’, and product(s) name in the 3 boxes respectively.

Product specific shipping rule

Manually handling the shipping charges is not a better option. Advanced Flat Rate Shipping method, Plugin eliminates the need for all manual work and increases your overall productivity.

Case 2: Adding Shipping Charges in Multiple Countries When a Cart Contains a Category Product

Being a storekeeper, you have to deal with clients from different countries. You have to maintain the shipping charges for all the delivered items whether it is in the same state or a different country.

This window lets you handle shipping charges in different countries for all the category-based products that are available in the cart.

Country & product specific rule

Case 3: Adding a Shipping Charge for a State When a Cart Contains a Category Product

If you are selling your products online, customers can belong to different states. In this case, you may want to apply less shipping costs to your state and more, for the others. With the Advanced Flat Rate Shipping Method for WooCommerce, it can be done.

Alongside the category-based shipping rule, add a rule that states the name of that state.

State & product specific rule

Now, fix the shipping charges and save the settings.

In the same way, you can set the shipping charges for the different states by selecting different states from the drop-down menu and creating methods for those.

Case 4: Adding shipping charge through a zone, when cart contains a category product.

Let’s say you want to deliver products of a category to Indian Subcontinent all countries at the same rate. Now, there may be other methods too, which you want to apply to the same set of countries. So, instead of adding multiple countries to rule everything, you can create a zone and use it later. Let’s see how:

Click on ‘Add Shipping Zone’ in the Manage Shipping Zones Menu.

Add New Shipping Method 5

Now name your zone as ‘My zone’ or something more meaningful, add the required countries in this shipping zone, and save the zone.

The next step is to create a method and add a category-based rule to it. And then, you will have to create another rule, which says ‘Zone’ = ‘My Zone’.

Zone specific shipping rule

Now fix the shipping price and save this method.

Case 5: Adding Shipping Charge by Making a User Group, when the Cart Contains a Category Product

This window lets you make a group of special user and allow you to give them a discount by making the shipping charges free for them.

User role specific rule

It seems to be interesting; you can set different shipping charges for a few categories and for a specific user role.  For example, you may want to let your employees avail of free shipping when they buy clothes. This plugin will let you do so.

How will it work and look like?

Sometimes, you may want to remove all charges, reduce charges or increase charges on multiple types of products, which belong to a similar category. In that case, the category-based shipping rule works.

To apply this, you can follow the procedure described above.

Once applied to the e-commerce store, your customers’ carts will function according to it.

For example – If we apply a shipping charge of $10 on all products, belonging to the ‘Bow-ties’ category, it will work as shown below:

Shipping method cart page view

Here, this product ‘bow-tie’ belongs to the bow-ties category and hence, a shipping charge of $10 is applied to it automatically when the buyer selects the product.

Install the plugin and get started with it. Additionally, you may ask us queries in comments, if you are stuck at any step. We will be more than happy to help you out.

Final Words!

Whether you’re selling various types of products or servicing an international customer base, managing shipping costs can be a tricky thing to handle. 

Understanding that WooCommerce, by default, does not offer the flexibility of category-based flat rate shipping, the Advanced Rate Shipping Method plugin for WooCommerce proves to be a practical and capable solution to this predicament. This comprehensive guide shows you the potential and adaptability of the plugin, helping you cater to multiple shipping scenarios efficiently. 

From tweaking shipping cost based on product categories to setting options for different shipping methods or regions or customer groups, the Advanced WooCommerce Flat Rate Shipping Method arms you with the tools to implement a flexible and effective flat-rate regime. 

By leveraging the functionality of this plugin, you can ensure your shipping approach is tailored to your products, customers, and business strategy, potentially reducing manual labor and increasing overall productivity in your WooCommerce store.


How do I restrict shipping by category in WooCommerce?

You can restrict shipping by category using an advanced rate shipping method plugin for WooCommerce. Once it’s installed, you can create a rule specifying the product category under the ‘Add new shipping method’ section, thereby restricting shipping for that specific category.

How do I create a custom shipping method in WooCommerce?

You can create a custom shipping method by installing an advanced flat-rate shipping method plugin for WooCommerce. In the ‘Add New Shipping Method’ section, fill in the desired shipping method details and conditions based on your requirements.

How do I customize shipping in WooCommerce?

WooCommerce provides flexible shipping rules; you can add shipping zone, multiple shipping methods, and shipping classes from the WooCommerce settings shipping, or use plugins for more advanced shipping price rules.

What is the Flat Rate shipping method?

The Flat Rate shipping method is a standard feature in WooCommerce. It allows store owners to charge a fixed rate for shipping, applicable to all orders, products, or product categories. You can set up a single flat rate for the entire order or define per-item or per-shipping class cost.

How do I set up shipping options in WooCommerce?

Setting up shipping options in the WooCommerce store starts from your WordPress Dashboard. Here, move to the WooCommerce section and click on ‘Settings’, and then ‘Shipping’. A new window will pop up where you need to click on ‘Add shipping zone’ to create one. Following this, a zone name and region need to be provided. In the ‘Shipping methods’ column, ‘Add shipping method’ has to be clicked where the desired method (Flat Rate, Free Shipping, Local Pickup) can be chosen. You are also allowed to add more zones and all the shipping methods or edit the created ones as necessary. 

Tag: , , , ,
Category: Flat Rate Shipping, table rate shipping, WooCommerce Shipping, WooCommerce Tutorials
Author Pic

About Nimesh Patel

I am a Product Marketer and Growth hacker with expertise in the areas of Digital marketing; Search engine optimization (SEO), Email Marketing, Paid Campaigns on Facebook and Twitter, Content development strategies, Competitive Research & Analysis. Nimesh is Product Manager at

  • Author Sebastian Velandia-7730 profile picture
    Sebastian Velandia says:

    The Zone and state option are not available for me, why?

    • Author The Dotstore-7729 profile picture
      The Dotstore says:

      Hi sebastian,

      We apologize for the inconvenience with the plugin.

      Kindly please create support ticket here

      So the technical team will reply in 24 hours.

      Thank you,