A Buy X Get Y discount allows you to offer customers a discount on selected items when they purchase a required quantity of items or spend a minimum amount. You can configure the purchase requirements, discounted items, customer eligibility, usage limits, discount combinations, and active dates.
Note: For a Buy X Get Y discount, customers must add both the qualifying X items and the eligible Y items to their cart. If the offer is Buy X, Get Y Free or at a Discount, the Y item will not be received unless the customer adds it to the cart and meets the offer conditions.
If you want the gift item (Y) to be added to the cart automatically, use the Gift with Purchase discount feature instead.
Follow these steps to create a Buy X Get Y discount in Ruleify.
Step 1: Open Buy X Get Y Discount
Open your Ruleify dashboard.
Under the Create Discount Rule section, click Buy X Get Y to start setting up a new Buy X Get Y discount.
Step 2: Configure the Discount Method
2.1 Activation Type
Choose how customers will receive the discount.
Automatic Discount: The discount is applied automatically when the customer meets the configured conditions.
Discount Code: Customers must enter a discount code at checkout to receive the discount.
If you select Discount Code, enter the code customers will use at checkout.
2.2 Title
Enter a title to identify the discount internally. This title is for internal use only.
Example: Buy 2 Get 1 Free
Step 3: Configure Customer Buys
The Customer Buys section defines what customers must purchase to qualify for the discount.
3.1 Requirement Type
Choose the minimum purchase requirement customers must meet.
Minimum Quantity of Items: Customers must purchase a specified number of qualifying items.
Minimum Purchase Amount: Customers must spend at least the specified amount on qualifying items.
Example: Select Minimum Quantity of Items if you want customers to purchase at least two qualifying products.
3.2 Quantity
If you select Minimum Quantity of Items, enter the minimum number of items customers must purchase.
Example: Enter 2 to require customers to buy at least two qualifying items.
3.3 Any Items From
Choose which products count toward the purchase requirement.
Specific Products: Select the products customers must purchase.
Specific Collections: Select the collections from which customers must purchase items.
Example: Select a specific T-shirt product if customers must buy that product to qualify.
3.4 Purchase Type
Choose which type of purchase qualifies for the discount.
One-time Purchase: The discount applies to qualifying one-time purchases.
Subscription: The discount applies to qualifying subscription purchases.
Both (One-time and Subscription): Both purchase types can qualify.
Example: Select Both (One-time and Subscription) if you want to allow either type of purchase.
Step 4: Configure Customer Gets
The Customer Gets (Y) section defines the product customers will receive for free or at a discount after buying the required product(s) in the Customer Buys (X) section.
Example: Buy 2 T-shirts and Get 1 Cap Fre
4.1 Quantity
Enter the number of Y items customers can receive at the discounted value. Customers must add the required Y items to their cart.
Example: If customers buy 2 T-shirts (X) and get 1 cap (Y) at a discount, enter 1 for the Y quantity.
4.2 Any Items From
Choose which products customers can get as Y items.
Specific Products: Select the products customers can get at a discount.
Specific Collections: Select the collections from which customers can get items at a discount.
Example: If customers buy 2 T-shirts (X) to get a cap (Y), select the cap under Specific Products.
4.3 At a Discounted Value
Choose how the discount will be applied to the Y items.
Percentage: Apply a percentage discount to the Y items.
Amount Off Each: Deduct a fixed amount from the price of each Y item.
Free: Offer the Y items for free.
Examples:
Select Percentage and enter 50 to offer 50% off the Y items.
Select Amount Off Each to deduct a fixed amount from each Y item's price.
Select Free to offer the Y items for free.
4.4 Value
Enter the discount value based on the selected discount type.
Percentage: Enter the percentage discount you want to offer.
Amount Off Each: Enter the amount to deduct from each Y item's price.
Free: The Y items are offered for free.
Example: To offer 50% off a cap (Y) when customers buy 2 T-shirts (X), select Percentage and enter 50.
4.5 Set a Maximum Number of Uses per Order
Enable this option if you want to limit how many times the Buy X Get Y discount can be used within a single order.
4.6 Maximum Uses
Enter the maximum number of times the Buy X Get Y offer can be applied to a single order when the usage limit is enabled.
Example: If you enter 1, the offer can be applied only once per order. If you enter 2, the offer can be applied up to twice in the same order, provided the customer meets the purchase requirements each time.
Step 5: Configure Eligibility
The Eligibility section defines which customers can use the discount.
5.1 Eligibility
Choose which customers are eligible for the discount.
All Customers: All customers who meet the configured purchase conditions can qualify.
Customer Segments: Restrict eligibility to customers who belong to selected customer segments.
Example: Select All Customers if you want the promotion to be available to every customer who meets the purchase requirements.
5.2 Markets
Select the markets where the discount should be available.
Example: Select the relevant market if you want to restrict the discount to customers shopping in a particular market.
Step 6: Configure Maximum Discount Uses
The Maximum Discount Uses section lets you control how many times the discount can be used.
6.1 Limit Number of Times This Discount Can Be Used in Total
Enable this option if you want to set a maximum number of uses across all customers.
6.2 Usage Limit
Enter the maximum number of times the discount can be used in total.
Example: Enter 100 to limit the discount to 100 total uses.
6.3 Limit to One Use per Customer
Enable this option if each customer should be allowed to use the discount only once.
Example: If you want each customer to use the promotion for only one order, enable this option.
You can enable either option or both, depending on your requirements. Leave them disabled if you do not want to apply these usage restrictions.
Step 7: Configure Combinations
The Combinations section lets you choose whether the Buy X Get Y discount can be combined with other discount types.
Available options include:
Product Discounts: Allow the Buy X Get Y discount to combine with eligible product discounts.
Order Discounts: Allow it to combine with eligible order discounts.
Shipping Discounts: Allow it to combine with eligible shipping discounts.
Example: If you want customers to receive a Buy X Get Y offer along with an eligible shipping discount, enable the relevant option.
Discount combinations are subject to the configured rules and Shopify's discount-combination requirements.
Step 8: Set the Discount Schedule
Use the Active Dates section to configure when your discount should become active and when it should end.
8.1 Start Date
Select the date when the discount should become available.
8.2 Start Time
Select the time when the discount should become available.
8.3 Set End Date
Enable Set End Date if the discount should stop being available on a specific date and time.
Example: If you want to run a promotion from November 1 to November 7, configure the appropriate start and end dates and times.
Step 10: Review and Save Your Discount
After configuring all the settings, review the preview panel on the right side of the page to see a summary of your discount.
If everything looks correct, click Save to save your discount.
