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.
In the article
- How it works
- How to create a shipping class
- Step 1: Creating a Shipping Class in WooCommerce
- Step 2: Assign shipping classes to products
- Step 3: Create a shipping class-based extra fee rule
- Step 4: Apply the extra fees on shipping class products
- Example 1: Extra handling fee for bulky items
- Example 2: Poster pack item packaging fee
- FAQs
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.
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
Step 2: Assign shipping classes to products
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.
FAQs
1. Can I add extra fees based on the shipping class of products in the cart?
Yes, with the WooCommerce Extra Fees plugin by Dotstore, you can create extra fees that are triggered by specific shipping classes assigned to products in the cart.
2. How can I set up extra fees for a shipping class?
In the plugin settings, create a new fee rule, then select the condition for shipping class. Choose the desired shipping class and enter the extra fee amount. Save the rule to apply it automatically during checkout.
3. Will the extra fee apply if there are multiple products in the cart with different shipping classes?
The plugin applies the extra fee only if the cart includes products that match the specified shipping class in your fee rule. Other shipping classes in the cart won’t trigger that specific fee.
4. Can I create different extra fees for different shipping classes?
Yes! You can add separate fee rules for each shipping class and set different fee amounts for each one to align with your store’s pricing strategy.
5. Can I edit or disable the extra fees for shipping classes later?
Absolutely. You can edit, enable, or disable the extra fee rules for shipping classes anytime in the plugin settings, giving you full flexibility.