View Product Page

Price rule – Quantity discount

The quantity discount allows you to create volume pricing and offer a discount based on the quantity selected.

Please, note: only one quantity discount per product can be applied at the same time

To create a new rule, go to YITH > Dynamic Pricing > “Dynamic Rules dynamic rules page and click on the + Add rule” button.

quantity discount

Let’s see how to configure it.

quantity rules step 1

Active rule: Enable or disable the rule by using the toggle.

Priority: set the priority to assign to this rule. Priority is important to overwrite rules (1 is the highest priority).

You can also arrange the priority by dragging and dropping the rules from the rules list:

drag and drop

Rule type: it is set to your previous choice by default, but you can choose to change it here, if you want to create a different rule type.

Set up products and conditions

Create a quantity rule for the purchase of: choose if you want to create this rule for all products or for all products of specifics categories/tags.

    • All products
    • Specific products
    • Specific product categories
    • Specific product tags
      You will be able to exclude some products in the options below.

Exclude products from this rule: enable if you want to exclude specific products from this rule and pick:

  • Specific products
  • Specifi product categories
  • Specific product tags

(This option is not available when selecting ‘specific products’)

Discount rules: here you can configure the details regarding quantity and price or discount (you can choose between % discount, fixed-amount discount and fixed price).quantity rules (1)

How to check the quantity

Quantity rule will check: use this option to control how the quantity of selected items will be counted

  • Item quantity in cart line, regardless if there are variable products or not in cart. If your rule is set to offer a 50% discount from the 10th item, it will check the quantity of every line in the cart.
    In the following screenshot in fact you see a 50% discount for those lines with more than 10 items, but full price for those with fewer items.
  • Single product quantity in cart – variations NOT counted: this option allows you to check product quantity for variable products and count all its variations as one product.
    For example, if you offer a 50% off 10 or more items and the user adds 4 times size M and 7 times size L of the same product, the total quantity for this product would be 11, so the discount applies.
  • Single product quantity in cart – variations counted: this option allows you to check product quantity for variable products and count each variation as a separate product.
    For example, if you offer a 50% off 10 or more items and the user adds 4 times size M and 7 times size L of the same product, the quantity of each variation does not reach 10, so no discount applies.
  • Total number of products in cart.
    For example, if you offer a 50% off 10 or more items and the user adds 4 of product A, 3 of product B and 8 of product C, the total quantity in cart is 15, so the discount applies.

Products affected by the discount

Apply discount to a different product or category: enable if you want to apply a discount for other products rather than for the products selected for this quantity rule. For example: if a customer purchases 100 business cards (product A), they can get a 10% discount on flyers. (product B)

Discount to different category

If you enable this option, then, if the rule conditions (what you’ve set up before) is met, then, the discount will apply to what you choose here:

  • All products (included those that you’ve selected above as a condition)
  • Specific products
  • Specific product categories
  • Specific product tags

You can further restrict the products on which the discount applies by using the Exclude products option.

If you want that the discount applies to the same products that you choose above, then, leave this option disabled.

Show table and price in loop

Show a quantity table

Show quantity & prices in a table: Enable if you want to show the quantity and the prices in a table in the product pages.

quantity table example

If you can’t see the quantity-price table on the products where this rule applies, please, make sure you have enabled the global option Show quantity tables from YITH > Dynamic Pricing > “Quantity table“. From there you can also manage other options related to the quantity table and what you want to show.

Show discount in loop

Show discount in loop: Enable if you want to show the discounted price (based on the current rule) in the loop, so on Shop page, category pages and tag pages.

Discount in loop

Restrictions by user and use role

Apply discount to: choose to apply the rule to all users or to specific user roles. In the latter case, you can further exclude specific users from this rule.

User restrictions

Schedule the rule

Schedule rule: choose whether to schedule the rule or activate/deactivate it manually

  • Enable the rule now and end it manually
  • Schedule a start and end time 

Schedule settings

Combine with other rules?

Combine with other rules

Disable rule ‘on-sale products’: enable this option if you want that the discount does not apply on ‘on-sale products’.

Disable other rules with lower priority: enable if you want to disable other rules with lower priority applied to same products.

Disable when a coupon has been applied: enable if you want to disable this rule if the user has applied a coupon code.

Show custom messages

Finally you can set up some additional notes on the products where the rule applies:

Custom message

1. Add a custom message in product with quantity rule: enter a custom text to show in the product pages where this quantity rule applies. By using the %items_with_rule_applied% placeholder to show products, categories, or tags to which the discount rule is applied.

2. Add a custom message in products where the discount is applied: enter a custom text to show in the product pages wither the discount applies.

Use the placeholder %required_items% to show products, categories, or tags that users must add to the cart to apply the discount rule to the product for which it has been created.

Please, note, this second box only appears if the Apply discount to a different product or category has been enabled.

Additional notes on product

3. Add extra notices in quantity table: enter a custom text to show under the quantity table.

Extra notes below the price table

Table extra notices

If the messages do not show up, make sure you enable “messages” on a global level from Settings > Product page settings. There you can also choose the position of these messages on the product page on a global level.