An Essential Guide on Setting up WooCommerce Shipping Classes

WooCommerce Shipping Classes

Last updated - September 4, 2024

Shipping could be a challenge for every online store owner who sells physical products. This could become more complicated if the product catalog is vast and different. For example, if you are selling coffee, coffeemakers, books, and t-shirts together in a store, you may need vastly different shipping strategies for each. WooCommerce shipping classes will help you categorize our products based on their unique shipping requirements.

For some, you may need to charge additional amounts, and for others, you may want to incorporate special packaging requirements. All this can be managed with the help of shipping classes.

Before getting into the steps of setting up WooCommerce shipping classes, let’s try to refresh the basics of WooCommerce shipping.

Overview of WooCommerce shipping classes

Shipping zones are geographical locations that determine the shipping strategy of your store. You can define different shipping zones based on different considerations like cost and convenience. For each shipping zone, you can add multiple shipping methods. And, for each of these shipping methods, you can add charges as well.

Now, shipping classes will come into the picture when you have two products with completely different shipping requirements. If you are shipping a coffeemaker, you may have to follow a unique approach in packaging and shipping. And from the same store, if you are shipping a book, you would want to opt for another shipping approach for that.

A simple example

This difference is shipping approaches can be easily managed with the help of WooCommerce shipping classes. To give a simple example, you may be charging a flat shipping rate of $10 across all products in your store, except for coffeemakers. For coffeemakers, you want to charge an additional $20. So, you create a shipping class for them and add it to all your coffeemakers. Now, go to the settings of your flat rate, and add cost for the shipping class of coffeemakers.

That means, when a coffeemaker is in the Cart, the shipping charge will be $30 instead of $10, which will be the shipping charge with all other products.

When you have products from multiple shipping classes in the Cart, you can opt for ‘per class’ or ‘per order’. With per class, the charge of each shipping class will be added, and with per order, only the cost of the most expensive shipping class will be added.

This way, you can use WooCommerce shipping classes in different ways according to your store requirements. Now, let us look into the setting up process of WooCommerce shipping classes in more detail.

How to set up WooCommerce Shipping Classes?

Access WooCommerce shipping classes through WooCommerce > Settings > Shipping > Shipping Classes.

Click the Add shipping class button to create a new shipping class.

Shipping-class

You can add a name, slug, and description for the new shipping class that you create. There is a column to denote the number of products that are part of a shipping class.

After entering the details, click on “Create“.

Create-shipping-class

Once a shipping class is created, you can edit or remove it by hovering the cursor around the name.

Edit-or-Delete-Shipping-Class

Adding shipping classes to products

The next step of creating shipping classes is to add them to relevant products. You can manage this by accessing the individual product settings.

For example, say you want to add a shipping class ‘Heavy’ to Typewriter in your store. You can go to the product settings and add the shipping class.

On the product data metabox, go to the Shipping tab, and select the shipping class from the Shipping class dropdown.

Product-page

Now, you will be able to apply special shipping considerations for this product.

For variable products, shipping classes can be set for parent products as well as individual variations. So, you can set one shipping class for the parent product, and optionally choose another shipping class for one of its variations. By default, for all variations, the shipping class will be ‘Same as parent’.

product-variation

Adding shipping classes to products in bulk

WooCommerce offers options to add shipping classes in bulk as well. For this, you can go to the Products page, and select the products you want to edit. Then, from the bulk actions dropdown, choose the Edit option.

WooCommerce shipping classes
You can select multiple products to add a shipping class to all of them at once.

In the next screen, you can add the shipping class to the selected products.

WooCommerce shipping classes
You can simultaneously add a shipping class to multiple products.

Some plugins will make you handle WooCommerce shipping classes more effectively.

For example, you can use the ELEX WooCommerce Advanced Bulk Edit Products, Prices & Attributes plugin, if you want to filter products more effectively. The plugin lets you filter products based on properties like price, attribute values, etc.

WooCommerce shipping classes
The advantage of using a bulk edit plugin is that it allows you to filter products more effectively.

Once you filter a specific set of products, you can add or remove a shipping class, or change to another one in all of them simultaneously.

WooCommerce shipping classes
It’s easy to add, remove or change shipping classes to multiple products with a bulk edit plugin.

Setting up rates specific to WooCommerce shipping classes

The major advantage of WooCommerce shipping classes is that you can use them to set up specific rates, or for other fulfillment aspects like special packaging.

With the default WooCommerce settings, you can create flat rates in your shipping zones, and then add an extra charge for products from certain shipping classes.

For example, you are charging a flat rate of $10 for a particular shipping zone. Now, you have introduced a new product, which is heavier and therefore costlier to ship. If you want to charge an additional shipping cost of $5, you can easily set that up in the flat rate settings.

setup-flat-rate

Setting up advanced rules based on WooCommerce shipping classes

Now, if you want to apply rates more specifically, you can get one of the advanced flat rate plugins. ReachShip Multi-carrier Shipping Plugin offers some innovative options to control shipping rates when selling products of different shipping classes.

Here is a scenario that could be easily managed when selling different products with varied shipping requirements.

Let’s say you have categorized two shipping classes; Standard and Express. For the shipping class“Standard”, you want to give a flat rate. Let’s see how this plugin can help us achieve this:

Click on ReachShip > Conditional Shipping > Add New

And under Conditions, Choose “Shipping Class-Based” and then Select “Standard”.

Reachship-shipping-class

Now, products eligible for the “Standard” shipping class will be shipped at $8, flat rate.

reachship-shipping-frontend

Displaying specific services of shipping carriers using WooCommerce shipping classes

A lot of eCommerce store owners prefer to integrate real-time rates of popular shipping carriers, instead of setting up different flat rates.

There are several WooCommerce plugins to integrate popular shipping carriers into your WooCommerce store.

For example, you can set up USPS real-time rates on your store using the ELEX WooCommerce USPS shipping plugin.

Once you set up the plugin, your customers will be able to see the real-time rates of different services of USPS as in the screenshot below:

WooCommerce shipping classes
The plugin will display real-time rates of different USPS services based on the destination and product weight and dimensions.

Now, how will you display specific services based on different shipping considerations? We can consider some of the general shipping service preferences to understand this better.

To ship within the US, First Class Package is a preferred service of USPS for lightweight items. However, for packages above 1 lb, Priority Mail is preferred. Similarly, for music and CDs, media mail is a preferred option.

Example

Now, let’s look into an example scenario. You are selling Hoodies, which you want to send through Priority Mail. Similarly, you are also selling music CDs, which you would like to go through Media Mail. Depending on the product added to the cart, you want to display only relevant shipping services and hide the rest of them. Here is how you can manage this.

Create a shipping class ‘Heavy’, for products that you want to go by Priority Mail, and create another shipping class ‘Media’ for Media Mail. Add the shipping classes to relevant products.

Install the ELEX Hide WooCommerce Shipping Methods plugin, and configure the settings as described below.

Creating a hide shipping rule for ‘Heavy’ shipping class

You can first create a shipping rule for all the products under ‘Heavy’ Shipping class

Filter the products by ‘Heavy’ shipping class.

WooCommerce shipping classes
You can apply the hide shipping method rule to products with shipping class ‘Heavy’.

Now you can hide the shipping methods you don’t want to display. Also, there is an option to hide the USPS shipping services other than priority mail by adding their HTML value in the Shipping options section. You can find the specific HTML value of the specific shipping method by using the Inspect option of your browser.

WooCommerce shipping classes
Here you can specify all the shipping methods and specific shipping services that you don’t want to be displayed.

Now, when a customer adds a product from the ‘Heavy’ shipping class to the Cart, only Priority Mail will be displayed.

WooCommerce shipping classes
You can display only specific shipping services based on shipping classes

Now, when a product from the ‘Heavy’ shipping class is added to the Cart, only Priority Mail will be displayed.

Add a second rule

Similarly, you can also create a rule to hide shipping methods when a product with a ‘Media’ shipping class is in the Cart.

First, filter the products based on the shipping class, and then specify the shipping methods and specific services that you want to hide.

WooCommerce shipping classes
Specify the shipping methods you want to hide and create a rule.

Now, when a customer adds a product from shipping class ‘Media’ to Cart, only Media Mail will be displayed as the shipping option.

WooCommerce shipping classes
You can display only selected services of shipping carriers based on shipping classes.

What happens when products of both the above shipping classes are present in the Cart together? For this scenario, you can create an advanced rule combining the rules for both the other shipping classes. Here too, you can specify the shipping methods and services that you want to hide. In this example, we are hiding all USPS shipping services, and displaying only a Flat rate of $15 when products from both shipping classes are in the Cart.

WooCommerce shipping classes
Combine two existing hide shipping rules and specify new terms.

So, when customers add products from multiple shipping classes, the Advanced rule that you have set up will come into play. As a result, only the specific shipping services or methods that you want to offer will be displayed. For this example, as you can see, only Flat Rate is displayed.

WooCommerce shipping classes
When products from different shipping classes are in the Cart, the advanced rules will be applied.

This way, you can achieve different use cases on your WooCommerce store with the help of different plugins.

Common scenarios where WooCommerce shipping classes can be applied

Now, let us discuss some of the common use cases, where WooCommerce shipping classes can be used:

  • Heavy – You may be selling a few heavy items along with several products that are light in weight. In such a scenario, you can set an additional charge for those products using WooCommerce shipping classes.
  • Bulky – Bulky products will take up a lot of space in the shipping container, even if they are not heavy. So, you may need a different shipping approach for those.
  • Fragile –  Fragile items will often need special packaging, and extra care during transit. That could mean you want to use only a particular shipping carrier or service for that. This could be achieved through WooCommerce shipping classes.
  • Perishable – You may want to make sure that any perishable products you are selling reach the customer as soon as possible. Sending by an Express service at an additional cost may be an option. There might be requirements like an icebox, or dry ice for packaging. You can easily apply the special requirements to those products using shipping classes.
  • Hazardous – Similar to perishable products, you might have a special packaging approach for hazardous materials. Even perfumes and cosmetics beyond a certain quantity will be considered hazardous materials by shipping carriers.
  • Special packing requirements – Artworks, posters, etc., will have special packaging instructions. So, if you are selling those kinds of products, you may want to make good use of WooCommerce shipping classes.

Final Wrap

WooCommerce shipping classes could be really helpful if your store features a set of products that require different shipping considerations. As discussed in the blog, you can either completely rely on WooCommerce Shipping settings to integrate shipping classes or take the benefits of the different plugins listed above to make the process easier.

FAQs

  1. What are WooCommerce Shipping Classes?

WooCommerce Shipping Classes help group similar products together. You can use the “Heavy” shipping class to categorize bulkier products and group lighter-weight products under “Light”.

  1. What are the different shipping options available in WooCommerce?

There are three core shipping options under WooCommerce: flat rate, local pickup, and free shipping.

  1. How do I create a Shipping Class in WooCommerce?

All you have to do is to get to your WooCommerce dashboard, Click on Settings, and then click on Shipping. Under Shipping, you can find a tab called Classes and then you can add a new shipping class. 

  1. Are there plugins that help with setting up WooCommerce Shipping Classes?

Yes, some plugins offer advanced options.

Further reading