How to set up an extra fee by category's quantity range in WooCommerce?

The "Cost on Category" rule in the Extra Fee Plugin allows you to apply additional fees based on the product category in the customer’s cart. This is useful when you want to charge extra fees for specific categories, like fragile items, oversized products, or premium services.

It’s ideal for WooCommerce stores that sell diverse products and need to handle category-based extra charges flexibly.

How it works

  • The plugin checks which product categories are present in the cart.
  • Based on the configured category rule and quantity range, it applies the extra fee.
  • You can define different fees for various quantity ranges within each category.
  • The fee will automatically show up at checkout when the cart matches your conditions.

Key Benefits

  • Apply extra fees specific to product categories
  • Define fees for different quantity ranges
  • Automates category-based charges with no manual adjustments
  • Works with all WooCommerce product categories

Steps to configure

Step 1: Enable the extra fee rules

  1. Go to WooCommerce → Extra Fees Plugin → Add New Fee Rule.
  2. Enter a title/name for your fee (example: Special Product Fee).
  3. Under Apply Fee On, select “Cost on Category” from the dropdown.

Step 2: Set category-based quantity extra fee limits

  1. Go to the “Cost on Category” section.
  2. Set the Minimum Quantity (example: 5 → fee applies only if customer buys at least 5 units).
  3. Set the Maximum Quantity (optional → leave blank if no upper limit).

Step 3: Set the fee amount

  1. Enter the Fee Amount (example: $9 for a specific product range 1 to 5 quantity).

Step 4: Save and test

  1. Click Save Rule.
  2. Go to your store and add products to the cart.
  3. Check that the fee is applied once the product quantity meets the set limit.
Get the extra fee

Example 1: "Glassware" Category

Product Quantity Range Fee Applied
1–6 items $9
7–12 items $18 Special packaging fee
13+ items $49 Special packaging fee

  • Category: Glassware
  • Product Example: Crystal Wine Glass Set
  • Price: $30 per set
  • Scenario: Customer buys 9 sets.
  • Result: A $18 special packaging fee is applied at checkout.

Example 2: "Outdoor Furniture" Category

Product Quantity Range Fee Applied
1–2 items $15 bulky shipping fee
3–5 items $30 bulky shipping fee
6+ items $50 bulky shipping fee
  • Category: Outdoor Furniture
  • Product Example: Wooden Garden Chair
  • Price: $150 per chair
  • Scenario: Customer buys 4 chairs.
  • Result: A $30 bulky shipping fee is applied at checkout.

Example 3: "Tops & Hoodies" Category

Product Quantity Range Fee Applied
12–24 items $10
25–35 items $20 packaging fee
36–40 items $25 bulk order handling fee
  • Category: Tops & Hoodies
  • Product Example: Classic Zip Hoodie
  • Price: $69 per hoodie
  • Scenario: Customer buys 25 hoodies.
  • Result: A $5 (Based price) + $20 (Advanced) = $25 packaging fee is applied at checkout.

As shown on the Cart Page, the cart contains products from the 'Hoodies' category, and the quantity is between 25 and 35. Therefore, the fee amount applied is $25 ($5 base fee + $20 additional fee).

Extra fee for front-side view

Get the extra fee

FAQs

1. Can I charge extra fees based on product category and quantity range in WooCommerce?

Yes, using the WooCommerce Extra Fees plugin by Dotstore, you can create extra fee rules based on specific product categories and their quantity range. This helps you manage additional costs effectively.


2. How do I create an extra fee for a specific category's quantity range?

To do this, go to the plugin settings and add a new fee rule. Select the desired product category, set the quantity range condition, and specify the extra fee amount. Save the rule to apply it automatically during checkout.


3. Will this extra fee apply to all products in the selected category?

Yes, the extra fee will apply only to products within the chosen category that meet the set quantity range condition. Other categories and unrelated products will not be affected.


4. Can I customize the extra fee amount for different categories and quantity ranges?

Absolutely! The plugin allows you to create multiple fee rules for different categories and quantity ranges. You can set different extra fee amounts based on your business needs.


5. Does this plugin support optional extra fees for category-based quantity ranges?

Yes, you can make the extra fees optional or mandatory. The plugin offers flexible settings to configure whether the customer can opt in to pay the extra fee or if it's automatically applied.

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