View Product Page

Price rule – 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 YITH > Dynamic Pricing > “Dynamic Rules dynamic rules page and click on the + Add rule” button.

gift product_

Let’s see how to configure it.

gift product first step

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

Choose which products to offer as a gift: choose the products that you want to offer as gifts.

How many gift products the user can select? And choose here if the user can just pick one of them as a gift or more.

Select products - gift rule

  • 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

Offer gift if: set if the offer applies based on a specific number of items in the cart or a minimum subtotal:

  • In cart there is a minimum number of itemsOffer gifts based on total items in cart
  • In cart there are items for a minimum subtotalGift based on subtotal

Restrictions by user and use role

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


rules on gift product

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 gift rule

  • disable other rules with lower priority: Disable other rules with lower priority applied to the same products.
  • Text to show in modal window: write the text that will show up in the modal window. Use the {{total_to_add}} placeholder to show the number of items to add.

modal window example

Show custom messages

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

Gift product 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.

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.