View Product Page

Price rule – Special offer

The discount option Special Offer allows you to create a discount on a certain quantity of a product, based on the selected quantity in the cart.

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

special offer

Let’s see how to configure it.

50% discount

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 special offer for the purchase of: choose if you want to create this rule for all products or products of specific 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
  • Specific product categories
  • Specific product tags

Then set the offer rules and the Repeat option:

Set offer rules and Repeat option

You can set here the number of products that have to be in the cart and how many products will get a discount (percent or fixed discount) or get a fixed price.

Repeat: enable this option to repeat the rule. For example, if you offer a 50% discount when purchasing a second product, when the user purchases four products, the rule is applied twice and the user gets a 50% discount on two of the four purchased products.

How to check the quantity

Set offer based on items per line

  • 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, you see a 30% 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 50% off on 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 50% off on 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 50% off on 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 the 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) are met, the discount will apply to what you choose here:

  • All products (including 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

Restrictions by user and use role

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

Special offer by user or role

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

Promote the offer in a modal window

If you have enabled the option “Apply discount to a different product or category“, you will be able to see an additional option to promote the offer in a modal window and set up a custom text using the placeholder {{total_to_add}}.

special offer in popup

Once enabled, the user will be able to add the product(s) related to this offer directly to the cart, from the modal window.

Promote the offer in a modal window

If the rule condition lets the user choose the quantity for the product, you will also be able to see a + button that will be automatically disabled when the required quantity is reached.

Promote in modal window with quantity

Also, variable products are supported in this special condition.

Please, note: this modal window will only show up if the product is added to the cart from the product page. If you add the product from other pages (for example, the shop page) the popup will not show.

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 to ‘on-sale products’.

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

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

Show custom messages

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

Special offer notes

1. Add a custom message in product with quantity rule: enter a custom text to show on the product pages where this quantity rule applies. You can use 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 on the product pages when 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.

Message for special offer

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.