How to create a product-specific quantity range-based WooCommerce shipping
With product-specific quantity range shipping, you can charge different shipping rates based on the number of items purchased for a specific product.
For example, charge $5 shipping if a customer buys 1β3 units of a product, and $10 shipping if they buy 4β6 units.
In The Article
Why use product-specific quantity range shipping?
- Fair Pricing: Make sure shipping costs scale with order size.
- Profit Protection: Prevent losses on bulk orders by adding extra fees.
- Promotions: Encourage larger orders with discounted shipping after a certain quantity.
- Flexibility: Create different rules for different products, not just for the whole cart.
Configure the steps
1. Add a new shipping method
- Go to Dashboard β Dotstore β Flat Rate Shipping.
- Click Add Shipping Method.
- Name it something like βProduct Quantity Range Shippingβ.
2. Add a product-specific rule
- Go to the Shipping Rules tab.
- Click Add New Rule.
- From the Condition dropdown, select Product.
Choose the product you want this rule to apply to.

3. Define quantity ranges
- In the same rule, add a Quantity condition.
- Enter the range (e.g., 1β3, 4β6, 7β10).
- Set the shipping fee for each range.
Example:
- 1β3 units = $5 shipping
- 4β6 units = $10 shipping
7+ units = $15 shipping

4. Save and test
- Click Save Changes.
- Go to your store, add the product to the cart, and adjust the quantity.
The shipping cost should update automatically based on the range.

Ready to See All Features in Actions?
Access our complete advanced features instance, allowing you to configure every feature with real checkout scenarios.
Two real examples
Example 1: Small Electronics (Headphones)
Product: Wireless Headphones
Price: $80
Rule:
- 1β2 units β $7 shipping
- 3β5 units β $12 shipping
6+ units β $20 shipping
Checkout Result:
- Customer adds 3 headphones β Shipping = $12
Example 2: Clothing (T-Shirts)
Product: Cotton T-Shirt
Price: $25
Rule:
- 1β5 units β $5 shipping
- 6β10 units β $8 shipping
11+ units β Free Shipping
Checkout Result:
- Customer adds 12 T-shirts β Shipping = Free


