Introduction :
Product-based discounts in Discount rules for WooCommerce plugin offered to customers based on the products they purchase. Product-based discounts can be a powerful tool for businesses to increase sales and promote specific products.
This user guide explains how to implement Product-based discounts in your WooCommerce store.
The following are some of the examples for Product-based discounts,
Buy 1 Product A and get 1 Product B for free, Buy 2 Product A and get 2 Product B for free and recursively..
Buy Product A and get a 50% discount on the free Product B.
Buy Product A and get one of the Variable product for free
Before getting started, please make sure that you have installed and activated the “Discount Rules PRO'' plugin. The above scenarios require the Buy X Get Y discount type feature, which is available only in the PRO version.
Let’s get started
Example 1 : Buy 1 Product A and get 1 Product B for free, Buy 2 Product A and get 2 Product B for free and recursively..
In this scenario, customers have the opportunity to purchase one Product A and receive one Product B for free. Additionally, when they increase the quantity of Product A, they will receive the equal number of Product B for free recursively automatically.
Creating a Discount Rule
Go to WordPress dashboard -> WooCommerce -> Discount Rules -> Click on “Add New Rule” button.
Choose “Buy X Get Y” as the Discount type.
Here is the screenshot of the rule configuration that follows,
Rule Configuration :
Filter Section
Choose "Products" in the "Filter" section as customers have discounts for specific products.
Discount Section
Choose “Buy X Get Y Products” in the Discount section as the discount is for the specific products. You can also have other options depending on your requirement.
Choose how to count the quantities as -> Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto Add”.
Enter the minimum quantity as “1” and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.
Enter the free quantity as “1” and discount type as “Free” (you can also have percentage and fixed discounts)
Enable Recursive option in-order to repeat the discounts endlessly.
Once configured, save and publish the rule.
Now, when the customer adds one of Product A, one of Product B would be automatically added as a free product.
Here is the screenshot of the cart page showing an example:
Example 2 : Buy Product A and get a 50% discount on the free Product B
In this scenario, customers have the opportunity to purchase one Product A and receive one Product B for 50% discount automatically.
Creating a Discount Rule
Go to WordPress dashboard -> WooCommerce -> Discount Rules -> Click on “Add New Rule” button.
Choose “Buy X Get Y” as the Discount type.
Here is the screenshot of the rule configuration that follows,
Rule Configuration :
Filter Section
Choose "Products" in the "Filter" section as customers have discounts for specific products.
Discount Section
Choose “Buy X Get Y - Products” in the Discount section as the discount is for the whole cart. You can also have other options depending on your requirement.
Choose how to count the quantities as -> Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto add”.
Enter the minimum quantity as “1”, maximum quantity as “999” or you can just leave it as empty and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.
Enter the free quantity as “1” and discount type as “Percentage Discount” and enter the discount percentage as “50”
Once configured, save and publish the rule.
Now, when the customer adds one of Product A, one of Product B would be automatically added to which 50% discount would be applied.
Here is the screenshot of the cart page showing an example:
Example 3 : Buy Product A and get one of the Variable products for free.
In this scenario, customers have the opportunity to purchase one Product A and receive one of the variable products for free automatically. Customers have a choice of choosing their preferred product from the variations.
Creating a Discount Rule
Go to WordPress dashboard -> WooCommerce -> Discount Rules -> Click on “Add New Rule” button.
Choose “Buy X Get Y” as the Discount type.
Here is the screenshot of the rule configuration that follows,
Rule Configuration :
Filter Section
Choose "Products" in the "Filter" section as customers have discounts for specific products.
Discount Section
Choose “Buy X Get Y - Products” in the Discount section as the discount is for the whole cart. You can also have other options depending on your requirement.
Choose how to count the quantities as -> Filter set above (count all quantities in cart as together). Select the Mode of Apply as “Auto add”.
Enter the minimum quantity as “1”, maximum quantity as “999” or you can just leave it as empty and choose the free product in “Get Quantity” which is to be given free for the product chosen in the filter section.
Enter the free quantity as “1” and discount type as “Free” (you can also have percentage and fixed discounts)
Once configured, save and publish the rule.
Now, when the customer adds one of Product A, one of Product B (variable product) would be automatically added as a free product.
Here is the screenshot of the cart page showing an example:
By clicking on the Change Variant, customers can choose their preferred variant in the product.
Some of the examples discussed here will require Discount Rules PRO.
Next Steps :
You may also want to check out these helpful guides :
Refer this video to know more about Products based discounts:
Still unclear?
If you need any assistance, please create a support request at our ticket system. We are always happy to assist you :)