PrestaShop
2+1 promotion in PrestaShop without discount codes: how to set it up

You can set up a 2+1 promotion in PrestaShop without discount codes as a discount applied automatically in the cart: the customer adds products and the store lowers the price of the next item by itself. The built-in cart rules can handle a simple free gift. Promotions like 1+1, 2+1 or 3+1 that repeat for larger quantities and give away the cheapest item in the pool need a module. Below you will find a step-by-step setup, sample cart calculations with clearly stated assumptions and a list of things that eat into your margin.
Table of Contents
Why is a promotion without a discount code easier for the customer?
Because the customer does not have to remember or type anything. A code has to be sent out, the customer has to copy it and paste it at checkout, and someone who found the store through a search engine does not know it at all. A promotion applied in the cart works for everyone who meets the condition.
The second advantage is the message shown while shopping. A line like „add 1 more item and get the next one for PLN 1” in the cart does more than a banner on the home page, because it appears exactly when the customer is deciding on the quantity.
What can the built-in PrestaShop cart rules do?
Cart rules in PrestaShop can work without a code. They have conditions (products, minimum amount, customer groups) and actions (discount, free shipping, free product). That is enough for a one-off free gift when a specific product is bought.
The trouble starts with the typical X+Y mechanism:
- the promotion should repeat, so with 5+1 a customer buying 12 items gets 2 at the promotional price,
- the pool contains several products at different prices and the cheapest item should be the discounted one,
- the free item should cost a fixed net price, e.g. PLN 1, with VAT at the product’s rate,
- the customer should see in real time how many more items they need for the promotion.
Each of these points can be worked around with several rules or by checking orders by hand, but with a dozen or more promotions this turns into a lot of manual monitoring.
How to set up a 2+1 promotion in PrestaShop step by step
With the WS Promotions X+Y module, the whole setup happens in a single module form. The module was built for a dental supply wholesaler and runs in production in its store. It requires PrestaShop 1.7.7 to 8.x and supports a single store (no multistore mode).
- Choose the promotion type. X+Y of the same products (1+1, 2+1, 5+1, 10+2, 20+3) or buying product A, after which products B are at the promotional price.
- Select the products. Pick them from the list or tick whole categories. Items of different products in the pool add up.
- Set the reward price. A fixed net price, e.g. PLN 1, or PLN 0 for a free item.
- Decide how the customer gets the free item. The customer picks it from a box on the product page, the module adds a product from stock (the one with the highest stock first) or it adds a descriptive line, e.g. „accessory set, colour chosen by the store”, without taking anything off stock.
- Add conditions. Validity dates, customer groups, minimum cart value, repeating the promotion, item limit per order, total and per-customer usage limits.
- Check the customer-facing text. The form shows a live preview of the sentence from the product page. You can replace it with your own text.
- Test the cart. Add one item too few, then the required number, then a multiple. The cart message refreshes after each change.
A 2+1 promotion in PrestaShop in numbers: what does the free item cost?
Take a store selling coffee beans. These are assumptions for the example, not data from a real store: a bag costs PLN 50 net, the store buys it for PLN 30 net, so it earns PLN 20 per item. The free item costs the customer PLN 1 net.
| Cart | Net revenue | Cost of goods | Profit per cart |
|---|---|---|---|
| 2 bags, no promotion | PLN 100 | PLN 60 | PLN 40 |
| 2+1: 3 bags | PLN 101 | PLN 90 | PLN 11 |
| 5+1: 6 bags | PLN 251 | PLN 180 | PLN 71 |
| 5+1 with repeating: 12 bags | PLN 502 | PLN 360 | PLN 142 |
The calculations are based on the assumptions from the previous paragraph. Each item at the promotional price costs the store PLN 29 here. With 2+1, a customer who would have bought two bags anyway leaves less profit than without the promotion. The promotion only pays off when it brings in customers who would not have bought at all, or when it raises the order size, as with 5+1 for someone who planned to buy three bags.
When the pool contains products at different prices, the module gives the cheapest items at the promotional price. The customer takes two bags at PLN 50 and one at PLN 30, so for PLN 1 they get the one that costs PLN 30. The discount is PLN 29, not PLN 49.
What to watch out for: margin, stacking promotions and codes
Most money is lost when discounts stack. Before you turn on a promotion, decide on three things:
- Combining with codes. In the module you enable it separately for each promotion. If your margin is low, leave it off.
- Several promotions on one product. The one that is better for the customer wins, and each item counts only once, so the same product will not get two discounts.
- Limits. An item limit per order and a usage limit per customer protect you from someone buying up the free items in bulk.
If you announce the promotion as a price reduction on a specific product, check whether you have to show the price before the reduction. We covered similar questions when discussing discount codes and the lowest price. Before the season, also review PrestaShop performance during peak sales, because any add-on that runs in the cart is worth checking before the heaviest traffic arrives. The full list of store changes to make before November is in our pre-season plugin and module review.
Before you launch your first campaign, work out with your own prices what one item at the promotional price costs you, and choose a threshold that raises the cart value instead of just giving away margin. If you want a 2+1 promotion in PrestaShop to work without codes, with a cart message and limits, take a look at the WS Promotions X+Y module for PrestaShop.
Frequently asked questions
Does an X+Y promotion work together with a discount code?
Only if you allow it. In WS Promotions X+Y you turn combining with discount codes on or off separately for each promotion.
How does the free item appear on the invoice and how is VAT calculated?
The discount is a regular cart rule assigned to a specific product. The cart, the order and the invoice show a separate discount line with the promotion name, and PrestaShop calculates VAT by itself at the product’s rate. The module does not use class overrides.
Can the customer choose the product at the promotional price?
Yes. The box on the product page links to the products included in the promotion and the customer adds the chosen one to the cart. You can also add the free item automatically from stock or as a descriptive line.