View Product Page

Dynamic rules

Once you have installed and activated the plugin, you can start creating your discount rules from the YITH > Dynamic Pricing and Discounts > Dynamic rules section by clicking on Create rule.

Now, you can choose to create a rule from scratch or start from one of the available templates.

Select the rule to create

After creating the rules, they will all be displayed in Dynamic rules where you can enable or disable, edit, duplicate or delete each rule, search for specific discount rules, and filter them by type and/or status.

If you need to add the same rule several times, without having to edit a new rule every time, you can easily duplicate the already-created rules. After clicking on ‘Duplicate’, the rule edit page will automatically open. Here you can change the title if you want to, and save the duplicated rule.

For detailed information about the configuration of the different discount rules on products, visit the pages specified below:

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 the tab Dynamic Rules, click on the + Add rule button and select the Qty discount template or click on Set a quantity discount.

Create a quantity discount rule

Now, enter a name for this rule in order to easily identify it among those you will create, and give it a priority. To learn more about rule priorities, please go to this page.

Quantity discount

Let’s now analyze the other options available for this rule type.

Trigger options

Trigger options
  • Create a quantity rule for the purchase of: choose if you want to create this rule for all products, specific products, or products of specific categories/tags.
  • All products
  • Specific products
  • Specific product categories
  • Specific product tags
    Except for Specific products option, you will be able to exclude some products through the following options.
Exclude products
  • Exclude products from this rule: enable if you want to exclude specific products from the rule and choose from:
    • Specific products
    • Specific product categories
    • Specific product tags

Rule configuration

Price set
  • Create Qty/Price table with: you can choose to configure the quantity and discount (% discount, price discount or fixed price) with intervals of units or fixed units.
Intervals of units
Fixed units
  • Quantity rule will check: use this option to control how the quantity of selected items will be counted.
Quantity rule check
  • Item quantity in cart line: regardless if there are variable products or not in the 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 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 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.
Variations not counted
  • 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 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.
Variations counted
  • Total number of products in cart: For example, if you offer 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.
  • 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).
Apply discount to different category

If you enable this option and if the rule conditions previously set are met, the discount will apply to what you choose from:

  • 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 to apply the discount to the same products that you choose above, then, leave this option disabled.

Rule application

Users
  • Apply discount to: choose whether to apply the rule to all users or specific users or user roles. You can further exclude specific users or user roles from this rule.
Exclude users

You can also decide whether to schedule the rule through the dedicated option.

  • Schedule discount: choose whether to schedule the rule or activate/deactivate it manually.
Schedule rule
  • Disable rule when: through this option, you can choose not to apply the discount to on-sale products and/or when a coupon code is used.
Disable rule
  • Disable other rules with lower priority: enable this option if you want to disable other rules with lower priority applied to the same products.
Disable other rules

Customization

Customization options
  • Show discount in loop: enable if you want to show the discounted price (based on the current rule) in the loop, so on the Shop page, category pages and tag pages.
Discount in loop
  • Show quantity & prices in a table: enable if you want to show the quantity and prices in a table on the product pages.
Quantity table on frontend

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.

Finally, you can set up some additional notes on the products with the quantity rule active and/or products where the rule applies (only appears if the Apply discount to a different product or category has been enabled).

Custom notices

Example on frontend

Notice example

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.

Quantity discount example

Quantity discounts are very popular and a good strategy to incentivize customers to buy more when you have a high stock of some products or edible products with a sell-by date to sell out, just to give some examples.

buy more, pay less

To create our rule, we have selected the Qty discount template, and then chosen the product(s), quantity ranges, and prices for the discount as in the screenshot below.

Quantity rule example

Then, we have enabled the quantity & price table to show up on this product as well as the discounted price in the loop by enabling the following options.

If the quantity table does not show up or you want it to have a different style, make sure the global option Show quantity tables has been enabled from the Quantity table settings and the layout and labels are set to your liking.

General settings for all quantity tables
Quantity table global options in “General settings”

We have also enabled the option to make sure that this quantity discount cannot be combined with other active discounts.

Disable other rules

We have set up a custom message to show on the product page and an additional message for higher quantities that will show below the table.

Custom messages settings for quantity rule
Custom messages settings for quantity rule on product page

And that’s it!

Leave all the other options unchanged or refer to this page for more details about all the other settings (scheduling, excluded products, restrictions by role, combination with other discounts, etc.).

Special offer

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

To create a new rule, go to the tab Dynamic Rules, click on the + Add rule button and select one of the available templates (3×2, 2×1, etc.) or click on Create a special offer.

Create a special offer rule

Now, enter a name for this rule in order to easily identify it among those you will create, and give it a priority. To learn more about rule priorities, please go to this page.

General options

Let’s now analyze the other options available for this rule type:

Trigger options

Trigger options
  • Create a special offer for the purchase of: choose if you want to create this rule for all products, specific products, or products of specific categories/tags.
  • All products
  • Specific products
  • Specific product categories
  • Specific product tags
    Except for Specific products option, you will be able to exclude some products through the following options.
Exclude products
  • Exclude products from this rule: enable if you want to exclude specific products from the rule and choose from:
    • Specific products
    • Specific product categories
    • Specific product tags

Rule configuration

Set offer rules
  • Set the offer rules: set 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
  • Repeat: enable this option to repeat the rule. For example, if you offer a 50% discount when purchasing a second product, if the user purchases four products, the rule is applied twice and the user gets a 50% discount on two of the four purchased products.
Set offer based on
  • Set offer based on: 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 the 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.
  • 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).
Apply discount to

If you enable this option and if the rule conditions previously set are met, the discount will apply to what you choose from:

  • 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 to apply the discount to the same products that you choose above, then, leave this option disabled.

Rule application

Users
  • Apply discount to: choose whether to apply the rule to all users or specific users or user roles. You can further exclude specific users or user roles from this rule.
Exclude users

You can also decide whether to schedule the rule through the dedicated option.

  • Schedule offer: choose whether to schedule the rule or activate/deactivate it manually.
Schedule offer
  • Disable rule when: through this option, you can choose not to apply the discount to on-sale products and/or when a coupon code is used.
Disable rule
  • Disable other rules with lower priority: enable if you want to disable other rules with lower priority applied to the same products.
Disable other rules

Customization

Modal window
  • Promote offer in modal window: this is a conditional option available only if you have enabled Apply discount to a different product or category. It allows you to to promote the offer in a modal window and set up a custom text using the placeholder {{total_to_add}}.

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.

Finally, you can set up some additional notes on the products with the quantity rule active and/or products where the rule applies (only appears if the Apply discount to a different product or category has been enabled).

Custom messages

Example on frontend

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.

Buy X get Y for free example

Do you want to offer conditional offers so that only if a certain product is purchased, another one can be given for free? Well, then, this is the rule you were looking for! Let’s see how to set it up.

In our example, we want to offer “Travel accessories” for free if the user buys the “Modern Suitcase”.

This rule is very similar to BOGO offers for the settings, but the discount applies to a different product of your choice instead of the same product.

conditional discont for suitcase and accessories

First of all, we have created a new rule as Special offer.

Then, we made sure to select the condition, so that the “Modern Suitcase” product is selected in Create a special offer for the purchase of and we set the offer rule as buy 1 get 1 with 100% discount.

Special offer example

The Repeat option is OFF because we want to give only 1 set of travel accessories per customer, no matter how many suitcases they buy. You can enable this option if you want that for every suitcase, customers can have 1 travel set for free.

Then, we kept Item quantity in cart line selected so the quantity is calculated for that product only. It does not make any difference if you choose this or another option as long as the conditional product is just one. If the conditional products are more than one, then, refer to this page for a deeper understanding of this option.

Item quantity in cart line

Now, to make sure that the discount is applied to a different product, we have enabled the option Apply discount to a different product or category and selected the “Travel accessories” product.

Conditional offer apply discount on different category

We have chosen to apply the rule to all users. Optionally, you can also schedule the offer and combine it with other discounts or not.

Apply rule to all users

Finally, we have added some custom messages to show on the pages of both products involved in the offer, so:

1. the conditional product, that is the Suitcase

2. and the discounted product, that is the travel set.

Custom messages

Please, note that this second box appears because you have enabled the option Apply discount to a different product or category. If you are setting up a BOGO offer (so discount on the same product), you will not see the second box, as there’s no point in showing it.

Here you can see how the custom messages show on the pages of both products.

Since this is a Special offer rule, it will be highlighted with a custom text (the rule title) on both the Cart and the Checkout page.

BOGOF on Cart page

3 for 2 discount example

One of the most common promotions is the Buy 2 get 1 free (also called 3 for 2 offers), thanks to which customers can get three items of the same product and only pay for two of them. Let’s see how to configure a 3 for 2 offer on the product “Lemon skin care – cream”.

3 for 2 frontend

First of all, create a new rule as Special offer and make it valid for one specific product “Lemon skin care – cream” as shown below:

3x2 discount

The Repeat option is on because the discount will apply to every 3 Lemon skin products purchased. So, if you buy 6, you will only pay for 4, and so on.

Let’s also set the quantity as based on the number of products in cart, meaning the plugin will check the total quantity of the “Lemon skin” in the cart to apply the discount.

Keep the option Apply discount to a different product or category off to make sure the discount will only apply to the same product that was selected above.

3x2 rule configuration

Now, make sure that this rule is valid for every user (or change the option if you want to restrict it to specific users or roles), keeping every other option disabled except for Disable other rules with lower priority, so that if more than one discount applies to “Lemon skin” and you’ve set up high priority to this rule, only this rule will apply.

Rule application

Finally, you can add some custom text that will show up on the product page, so you can better promote this product.

Show a custom notice

If the messages do not show up, just make sure you’ve enabled messages on a global level from Settings > Product page settings, where you can also set the position of the message (please, consider it’s for ALL messages) to Before “Add to cart” button.

Product page settings

When you create a special offer, you will be able to show the rule title both in Cart and Checkout to highlight the type of discount the customer is getting.

3 for 2 in cart
3 for 2 in checkout

50% discount on specific variation

You might want to offer a discount on a specific product variation. Thanks to the support for variable products, this can be easily achieved.

Let’s see an example where we want to offer a 50% discount on a specific size (Small) when the users purchase size Medium or Large of the product Blue man t-shirt.

First of all, we create a new rule as a Special offer.

Then, we create the condition by selecting the product variations that will trigger the discount, Blue man t-shirt Large and Blue man t-shirt Medium.

Example with variable product

Now, we set how the discount rule will work by defining the number of products that has to be purchased (in this case 1), the number of products that will be discounted (in this case 1) and the related percentage discount (in this case 50%).

Since we want to offer a 50% discount on the size Small, we enable the option Apply discount to a different product or category, select Specific products, and add Blue man t-shirt – Small to the dedicated field.

Rule configuration

We prefer to show the offer in a modal window, so we enable the option, set a custom message and save the rule.

Offer in modal

The rule is now active and when users add the Blue man t-shirt to the cart after selecting the size Medium or Large, they will be able to add also the Small size with the 50% discount applied.

Offer in modal
Offer in cart

Gift products

The Gift products feature allows you to offer some products for free and let the customer pick them from a popup when they add one or more specific items to the cart.

To create a new rule, go to the tab Dynamic Rules, click on the + Add rule button and select the Free gift on cart template or click on Gift products.

Gift products

Now, enter a name for this rule in order to easily identify it among those you will create, and give it a priority. To learn more about rule priorities, please go to this page.

Create gift products rule

Let’s now analyze the other options available for this rule type:

Trigger options

Create gift products rule
  • Offer gifts if user buys: choose if you want to create this rule for all products, specific products, or products of specific categories/tags.
    • All products
    • Specific products
    • Specific product categories
    • Specific product tags
      Except for Specific products option, you will be able to exclude some products through the following options.
Exclude products

Rule configuration

Gift products options
  • Choose which products to offer as a gift: select the product/s that you want to offer as a gift in the cart.
  • Add the gift product automatically: this option allows adding the gift product automatically to the cart. It only shows if you want to offer one single product as a gift and works only with simple products. If you want to offer as a gift a variable product or a specific product variation, the users will have to add it to the cart through the popup.
Add gift product to cart automatically
  • How many gift products the user can select?: define the number of gift products a user can choose.
  • select the condition to offer the gift:
    • In cart there is a minimum number of items: by choosing this option, you will need to define the value after selecting is greater than, is less than, is equal to, or is not equal to.
    • In cart there are items for a minimum subtotal: by choosing this option, you will need to define the minimum subtotal value in the related field.
Minimum subtotal

Rule application

Users
  • Offer gift products to: choose whether to apply the rule to all users or specific users or user roles. You can further exclude specific users or user roles from this rule.
Exclude users

You can also decide whether to schedule the rule through the dedicated option.

  • Schedule offer: 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 rule
  • Disable rule when: through this option, you can choose not to apply the discount to on-sale products and/or when a coupon code is used.
Disable rule

Customization

Text to show in modal window
  • Text to show in modal window: enter the text that will show up in the modal window. Use the {{total_to_add}} placeholder to show the number of items to add.

Finally, you can set up some additional notes on the products with the gift products rule active and/or products where the rule applies.

Gift products notices
modal window example

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.

Gift products example

Do you want to reward your customers with a free gift they can choose from on the cart page when buying a specific product? You can!

For example, to customers who add at least 2 “Pepper green shirts” to the cart, you will offer one free gift.

Let’s create a gift product rule for that and select the products that you will offer as free gifts: one among Black & Gold earrings, Minimal poster, Customized candle.

Gift product rule example

If you want the customer to be able to pick more than 1 product, then adjust the value of How many gift products can the user select?

modal window example

Now you can set up the condition for this free gift, that is adding more than 1 item of the product “Pepper green shirt”.

Gift products condition

As an alternative, you can link this free gift to the cart subtotal amount.

Then, you can restrict the rule only to some users or make sure that everyone can benefit from this free gift as we’ve set below.

Gift product - user restrictions

Finally, you can add some custom messages to incentivize the users to buy more and get a free gift. You can add a custom message both on the page of:

1. the conditional product (the Pepper green t-shirt)

2. and on the products selectable as free gifts (Black & Gold earrings , Minimal poster, Customized candle).

Gift products - custom messages settings
Note on conditional product for gift rule

BOGO

The BOGO discount allows you to create a discount rule where the customer can buy one product and automatically get one for free.

To create a new rule, go to the tab Dynamic Rules, click on the + Add rule button and select the Buy 1 Get 1 template.

BOGO rule creation

Now, enter a name for this rule in order to easily identify it among those you will create, and give it a priority. To learn more about rule priorities, please go to this page.

BOGO general options

Let’s now analyze the other options available for this rule type.

Rule configuration

BOGO configuration
  • Create a BOGO rule for the purchase of: choose if you want to create this rule for all products, specific products, or products of specific categories/tags.
    • All products
    • Specific products
    • Specific product categories
    • Specific product tags
      Except for Specific products option, you will be able to exclude some products through the following options.
Exclude products
  • Exclude products from this rule: enable if you want to exclude specific products from the rule and choose from:
    • Specific products
    • Specific product categories
    • Specific product tags

Rule application

BOGO rule application - Users
  • Apply BOGO rule to: choose whether to apply the rule to all users or specific users or user roles. You can further exclude specific users or user roles from this rule.
Exclude users

You can also decide whether to schedule the rule through the dedicated option.

  • Schedule offer: choose whether to schedule the rule or activate/deactivate it manually.
Schedule settings
  • Disable rule when: through this option, you can choose not to apply the discount to on-sale products and/or when a coupon code is used.
Disable rule
  • Disable other rules with lower priority: enable if you want to disable other rules with lower priority applied to the same products.
Disable other rules

Customization

Notices on BOGO

Finally, you can set up some additional notes on the products with the BOGO rule active.

bogo frontend

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.