Add extra fees based on the category of products in the cart
Charging extra fees based on product categories allows WooCommerce store owners to apply additional costs when specific types of products are added to the cart. This is useful for handling special packaging, premium shipping, product item handling, or service fees related to a specific category of products.
In the article
- Benefits of category-based extra fees
- Steps to configure extra fees based on product categories
- Step 1. Set category-based extra fee details
- Step 2. Define category-based extra fee rules
- Step 3. Apply Fees for specific categories of product
- Example 1: Apply an extra fee for special items
- Example 2: Charge an extra fee for the heavy equipment category
Benefits of category-based extra fees
Apply fees only to relevant product categories, which eliminates the need for manual adjustments. You can apply the fees in two ways fixed or percentage-based fees which help to recover additional costs for special product categories.
By applying extra fees based on product categories, you can enhance pricing flexibility, improve cost recovery, and provide a better checkout experience for customers.
Steps to configure extra fees based on product categories
Step 1. Set category-based extra fee details
Step 2. Define category-based extra fee rules
Select category-based rules and choose one or multiple categories from the dropdown list as you can see in the below screenshot.
Step 3. Apply Fees for specific categories of product
Once the user adds any products from the Men's button categories and selects the United States as the country, special product charges will be applied.
Example 1: Apply an extra fee for special product items
Scenario: Charge a $1 handling fee for each special product.
- Title: Item Handling Fee
- Fee Amount: $1 (Fixed)
- Condition: Category = Clothings
- Outcome: Customers adding any clothing items from these categories will see a $1 fee applied at checkout.
Example 2: Charge an extra fee for the heavy equipment category
Scenario: Apply a 2% surcharge on heavy machinery for additional shipping costs.
- Title: Heavy Equipment Shipping Fee
- Fee Amount: 2% (Percentage of Cart Subtotal)
- Condition: Category = Heavy Machinery
- Outcome: A 2% additional charge will be applied when products from the selected categories are in the cart.