Buy X get Y
Last updated
Was this helpful?
Last updated
Was this helpful?
In this tutorial, let's explore how to buy 2 pairs of shoes get 1 cap for free.
Discussion steps:
Pricing settings
Conditions
Settings
Application
To get started with this, we will go through YayCommerce >> YayPricing >> Product Pricing >> Add Rule. Then select the Buy X Get Y rule (the X+Y variation).
Pricing settings.
After selecting the Buy X Get Y rule, then we go ahead to configuring the price settings, as seen in the screenshot below;
The "Buy Products" field allows you to select the products that users must purchase in order to receive the discount.
The "Get Products" field allows you to specify the discounted item that the promotion will apply to.
Conditions
You can set conditions to further define when the rule should be applied and when it should not be applied to customers. In this example, we set the rule to apply only when the cart subtotal is greater than $100.
Settings
The screenshot below shows the settings that can be applied to our rule. There are up to 5 checkboxes that can be activated to apply the four available settings in this case. However, we have only checked boxes (1) and (4) to display the offer description on the product page and enable the promotion schedule.
(2).When this box is checked, the description set in box (1) will only be shown to customers when the specified conditions are met.
(3).When this box is checked, customers will see a tooltip text on the final price in the Cart page after the pricing rule is applied to their cart items.
(5). Check this box to limit the number of times a customer can enjoy the discount rule.
We saved the changes!
Application
Offer description in the X product page.
1 quantity of Y is automatically added to the cart after we've added 2 or more quantities of X product.
Pricing settings.
In this case, instead of selecting the "Free" option in the Item Get type, choose "Discount" and set it to a 100% discount, as shown in the reference below.
Additionally, don't forget to select the "Cheapest One" option to make the cheapest item free.
Conditions
To restrict the promotion to users with a coupon code, you should set the condition accordingly as a reference below.
The item with the lower price will be given as a free gift on the cart page when the user applies the coupon.