How to Charge Extra Fees Based on Total Cart Quantity Range in WooCommerce
Adding extra fees based on the total quantity of products in the cart can help store owners manage shipping costs, packaging, or handling for bulk purchases. Using the WooCommerce Extra Fees Plugin, you can create dynamic rules that apply additional charges based on quantity ranges, helping you recover costs while maintaining transparency during checkout.
In the article
- How it works
- Benefits
- Steps to configure
- Step 1: Enable the extra fee rules
- Step 2: Set cart-based quantity extra fee limits
- Step 3: Set the fee amount
- Step 4: Save and test
- Example 1: Apply bulk handling fees for mid-size orders
- Example 2: Box Packaging Fee for Every 6 Items (Up to 36 Quantity) 📦
- FAQs
How it works
This feature allows you to automatically apply extra fees when a customer’s cart reaches a specific total quantity of products.
You define the quantity range and the fee amount, and the plugin takes care of the rest. For example, charge an extra ₹50 if the total quantity is between 5 and 10, or waive the fee if the quantity exceeds 20.
Benefits
- Automatically manage packaging or logistics charges based on quantity.
- Discourage low-quantity or high-volume orders that are not cost-effective.
- Set transparent fee rules to maintain customer trust.
- Reduce manual handling of quantity-based custom fees.
Steps to configure
Step 1: Enable the extra fee rules
- Go to WooCommerce → Extra Fees Plugin → Add New Fee Rule.
- Enter a title/name for your fee (example: Bulk Order Fee).
- Under Apply Fee On, select “Cost on Total Cart Quantity” from the dropdown.
Step 2: Set cart-based quantity extra fee limits
- Go to the “Cost on Total Cart Quantity” section.
- Set the Minimum Quantity (example: $21 → fee applies only if customer buys 1 to 5 units).
- Set the Maximum Quantity (optional → leave blank if no upper limit).
Step 3: Set the fee amount
- Enter the Fee Amount (example: $21 for a specific product range 1 to 5 quantity).
Step 4: Save and test
- Click Save Rule.
- Go to your store and add products to the cart.
- Check that the fee is applied once the product quantity meets the set limit.
Example 1: Apply bulk handling fees for mid-size orders
When a customer adds 11 to 20 items to their cart, a $100 extra fee is applied as a bulk handling charge. This helps recover packaging or logistics costs for larger orders.
It also encourages buyers to either order more (to waive the fee) or plan smarter purchases.
Cart Quantity Range | Fee Amount | Use Case Description |
---|---|---|
1 to 4 | $0 | No additional fee for small orders |
5 to 10 | $50 | Apply a handling fee for mid-size orders |
11 to 20 | $100 | Higher charge for larger orders |
21 and above | $0 | Offer free handling to promote bulk buying |
📦 Example 2: Box Packaging Fee for Every 6 Items (Up to 36 Quantity)
This setup applies a $5 box packaging fee for every 6 products added to the cart, up to 36 items. It helps cover packaging material and handling effort for bulk orders transparently.
Quantity Range | Extra Fee ($) | Description |
---|---|---|
1 – 5 | $0 | No extra packaging fee |
6 – 11 | $5 | 1 box applied for packaging |
12 – 17 | $10 | 2 boxes applied |
18 – 23 | $15 | 3 boxes applied |
24 – 29 | $20 | 4 boxes applied |
30 – 35 | $25 | 5 boxes applied |
36+ | $30 | 6 boxes applied |
FAQs
1. What happens if a customer adds more items than the highest quantity range?
If the cart quantity exceeds the last configured range (e.g., 36+), the plugin will apply the highest defined fee. You can optionally add a catch-all rule for higher quantities.
2. Can I set different fees for different product types in the same cart?
Yes, you can create separate rules based on product categories or specific product conditions along with quantity ranges.
3. Will the fee apply if the cart has products from multiple categories?
Only if the rule is configured for the entire cart quantity, regardless of product category. You can refine rules to target specific categories if needed.
4. Can I display a message or label for the applied extra fee at checkout?
Absolutely! You can set a custom fee title and description that will be visible on the checkout page to improve transparency.
5. How can I make sure the customer knows why they’re being charged extra?
Use clear titles like "Box Packaging Fee" or "Bulk Handling Fee" and include tooltips or display messages on the cart/checkout page for better customer clarity.