Product shipping classes are a great way to group similar products for shipping. For example, if your store sells a couple of very large, bulky items you may want to put them in their own shipping class with their own unique shipping cost.
Grouping these products together in a way that is similar to post or product categories allows you to define specific shipping costs for items. WooCommerce shipping methods such as Flat Rate Shipping and Table Rate Shipping allow you to use shipping classes to calculate their costs.
Below we will discuss:
How to add a shipping class in WooCommerceHow to add products to your newly created shipping classHow to set flat rate shipping costs based on your shipping class
Creating a Shipping Class in WooCommerce
To create a new shipping class go to Products > Shipping Classes from your WordPress dashboard.
Next, enter a Name for your shipping class and add a URL friendly slug (this will automatically fill in if you leave it blank). If you are going to be using several shipping classes on your website, we would recommend using a description so it is easier for you to tell them apart.
In the example below, we have created a shipping class for bulky items on our website.
Repeat this process for all of the shipping classes you will need on your website. Now you are ready to add your products to your shipping class!
Adding Products to Shipping Classes
Now that you’ve created a shipping class, it is time to add some products!
To assign a shipping class to a product, go to the Shipping tab on one of your products and select your shipping class from the drop-down list.
If you have a lot of products you need to add to a shipping class, you can add them in bulk. From your products dashboard, select all of the products you would like to add to the shipping class and select Edit under Bulk actions.
Then, under shipping class, select your shipping class from the drop-down list and click Update. Now all of the products you selected have been assigned to that shipping class!
Now that you have added a shipping class and added products to that shipping class, it is time to use that class to define your rate. Below we will cover how to set flat rate shipping costs based on your shipping classes.
Flat Rate Per Shipping Class
To access your shipping options go to WooCommerce > Settings > Shipping.
Then, if you would like to charge a flat rate per shipping class select Calculation Type > Per Class – charge shipping for each shipping class in an order.
Then, you can define the flat rates per shipping class.
Then, you can define the flat rates per shipping class. In the example below, we are charging $5.25 for all products that are in the “Over 10 lbs” shipping class we created and $2.25 for all products in the “Under 10 lbs” shipping class we created.
So if a customer had 1 product that is in the “Over” shipping class and 1 product that is in the “Under” shipping class in their cart they would pay $7.50for shipping.
Comments