How to Configure Advanced Discount Price Rules – Cost on Product in WooCommerce
The Cost on Product option in the Dynamic Discount plugin allows you to create product-specific discount rules based on quantity ranges. This helps you offer different discount amounts depending on the product and how many items customers purchase.
For example, you can configure a rule where customers get $10 off when buying 1–5 quantities of Product A, and $12 off when buying 6–10 quantities. You can also apply percentage-based discounts for selected products.
Benefits
Using Cost on Product rules can help:
- Create product-specific discount offers
- Apply discounts based on quantity ranges
- Encourage larger purchases with tiered pricing
- Offer fixed or percentage-based discounts
- Control whether discounts apply to the full cart or selected products only
How to Configure Cost on Product Rules
Step 1: Open the Advanced Discount Price Rules section
Go to your discount rule settings and scroll to the Advanced Discount Price Rules section.
Enable this option and select Cost on Product from the available rule types.
Step 2: Add products for the discount rule
Select the product(s) where you want to apply discounts.
You can create separate discount rules for different products and define quantity ranges for each one.
Step 3: Configure quantity ranges
Enter the minimum quantity and maximum quantity for each discount rule.
This determines when the discount will be applied.
For example:
- Quantity 1–5 → Discount applies
- Quantity 6–10 → Different discount applies
Step 4: Add discount amounts
Enter the discount value you want to apply.
You can add:
- Fixed discount amounts (Example:
$10) - Percentage discounts (Example:
10%)
Example:
- Product A → Quantity 1–5 → $10 discount
- Product A → Quantity 6–10 → $12 discount

Step 5: Configure percentage discounts for selected products only (Optional)
By default, a percentage discount is calculated based on the cart subtotal amount.
For example:
- Product 1 subtotal = $50
- Product 2 subtotal = $40
- Total cart subtotal = $90
If the discount is 10%, the plugin calculates:
10% of $90 = $9 discount
However, if you want the percentage discount to apply only to selected products, enable the Apply on Products option.

Example:
If only Product 1 is selected and its subtotal is $50:
10% of $50 = $5 discount
This gives you more control over how percentage discounts are calculated.
Example Use Cases
Product-Specific Quantity Discounts
Offer different discounts based on product quantities.
Example:
- Buy 1–5 quantities → $10 off
- Buy 6–10 quantities → $12 off
Wholesale Pricing
Create bulk pricing rules for wholesale customers buying higher quantities.
Example:
- 1–10 quantities → Small discount
- 10+ quantities → Larger discount
Percentage-Based Promotions
Apply percentage discounts for selected products during promotional periods.
Example:
- Buy selected product → 10% off
Conclusion
The Cost on Product option gives you flexible control over product-specific discount pricing in WooCommerce. You can combine products, quantity ranges, fixed discounts, and percentage discounts to create pricing strategies that encourage larger purchases and improve sales.
FAQs
1. Can I apply different discounts for different quantity ranges?
Yes. You can configure multiple quantity ranges with different discount values for the same product.
2. Can I use percentage discounts instead of fixed discounts?
Yes. Simply enter a percentage value, such as 10%, in the discount amount field.
3. Why is my percentage discount applying to the full cart?
By default, percentage discounts are calculated using the cart subtotal amount.
Enable Apply on Products if you want the discount to calculate only for selected products.
4. Can I apply discounts to multiple products?
Yes. You can select multiple products and create quantity-based discount rules for each one.