depositfee
How to create range based fees in Shopify
Apply fees by quantity ranges (for example 1-50 = 1 fee, 51-100 = 2 fees) using DepositFee.
Article
Range based fee helps you charge deposit/handling fees in slabs based on matched product quantity.
For example:
- 1 to 50 matched items → 1 fee
- 51 to 100 matched items → 2 fees
- 101 to 150 matched items → 3 fees
When should I use range based fee?
Use this when your fee should increase by quantity slabs instead of adding one fee per single item.
Common use cases:
- Bottle/crate return handling in bulk orders
- Packaging/recycling fee per batch of units
- Warehouse handling fee for quantity ranges
Requirements
- Pfand - Deposit & Cart Fee app is installed
- Fee should be created in Auto Mode
- Recommended with Multiple Fee type for product-based matching
Steps to create a range based fee
- Open the app dashboard and click Create Fee
- Choose Multiple Fee
- Add fee details (Fee title, fee price, etc.)
- In Triggers, keep Auto Mode enabled
- In Fee Information, enable Range-based quantity
- Set Items per fee (X)
- Example:
X = 50
- Example:
- Configure your product/cart conditions as needed
- Click Activate
How calculation works
If Items per fee (X) = 50, then the fee quantity is calculated as:
- Qty 1–50 → Fee qty 1
- Qty 51–100 → Fee qty 2
- Qty 101–150 → Fee qty 3
So the fee grows in blocks of 50 matched items.
Tips
- Keep
Xgreater than0 - Use clear fee title like "Deposit Fee (Range)" so staff can identify it quickly
- Test with sample carts at boundary quantities (50, 51, 100, 101)
Related guides
Related