Add extra fees based on the cart shipping class

Easily apply additional charges based on the shipping class of the products in the cart. Shipping classes help you group similar product types, such as bulky, lightweight, or fragile items, and assign specific fees accordingly.

How it works

This feature allows you to set up different extra fees for different shipping classes using Flat Rate or other shipping methods.

For example, you can charge a higher fee for bulky items due to increased handling or shipping costs, while keeping the fee low or free for small, lightweight products.

It ensures fair pricing and better cost management based on the nature of the products being shipped.

Shipping classes are used to group products – they are not used directly to offer shipping rates to customers. To set up shipping rates, configure Shipping Zones, and then add your shipping class costs to a shipping method, like Flat Rate.

How to create a shipping class

Step 1: Creating a Shipping Class in WooCommerce

Go to: WooCommerce > Settings > Shipping > Shipping Classes.

Step 2: Assign shipping classes to products

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.
Go to Dashboard > Products and select the product, and click Edit. Go to Product data > Shipping and select the Shipping Class from the drop-down.

Step 3: Create a shipping class-based extra fee rule

Go to the Dotstore plugins and add a new fee and configure the fee title, fee amount, and conditional rules.

Step 4: Apply the extra fees on shipping class products.

Any products from the specific shipping class, like Bulky, are added, and this extra fee will be applied to the cart.

Example 1: Extra handling fee for bulky items

A furniture store wants to charge an additional $50 for items categorized as “Bulky Items” due to special handling and delivery requirements.

By assigning a "bulky" shipping class to such products, an automatic handling fee is applied at checkout whenever these items are in the cart.

Example 2: Poster pack item packaging fee

An online gift shop sells poster items like glassware and ceramics. To cover the cost of special packaging, they apply a $9 packaging fee to any cart containing products marked under the “Poster pack” shipping class. This ensures items are safely packed while recovering the packaging expense.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.