Shows selected discount codes right on the product page and in product listings, together with the price the customer pays with the code. One click adds the product to the cart and applies the code.
The support is extended by 12 months from the end of the current support, an expired one from the payment.
Installation, setup and custom changes are a paid service.
The extension is added to a licence in your account.
Sign inWhat it solves
Discount codes often stay buried in a newsletter or a banner. Customers forget them, or don't copy the code and buy without the discount – or not at all.
The module shows selected codes right on the product page and in listings, together with the price the customer pays with the code. One click adds the product to the cart and applies the code.
Who it is for
Benefits
On the product page and in listings: the code, the price with the code and how much customers save.
The product is added to the cart and the code is applied automatically. Customers don't have to copy anything.
The module checks the customer group, the store and restrictions on products, categories and brands.
Six box designs with a discount badge, a countdown and a button to copy the code.
How it works
A cron job calculates the price with the code for every product, language, currency and customer group.
On the product page and in listings, only while the code is valid and not used up.
The product is in the cart and the discount is applied.
Examples
The examples come from a test store running PrestaShop 9.
Below the product price: a box with the discount, the price with the code and a button to copy the code. The Buy with code link adds the product to the cart with the code already applied.
You set the layout, colors and extras of the box to suit you, so the box matches your theme and the current promotion. The sample shows the same code with six different settings.
The code and the price with the code right in the product card in categories and other product listings. The listing design is set separately, so the box fits even a narrow card.
Select the cart rules with a code, where the box appears and whether to show only the first code per product. At the top you will find the cron URL and the calculation status.
Features
FAQ
The active cart rules with a code that you select. It does not show rules without a code, rules for one specific customer or rules restricted to a country.
Yes. The module checks validity, status and remaining uses on every display, so an expired or used-up code disappears immediately.
The module calculates the price with the code in advance for products, languages, currencies and customer groups, so your store does not slow down. Without cron, you can start the calculation with a button in the back office.
No. The module shows a code with a minimum cart value on cheaper products too. So do not use it for such codes, or keep in mind that the discount only applies above the limit.
The price of the default combination for 1 piece. The box does not show combination price differences or volume discounts.
The box is inserted into the standard theme positions next to the product price. Themes based on Classic have them; for other themes, we are happy to check.
Parameters
| Module label | b4nproductdetaillistcartrules |
|---|---|
| Module version | 3.2.3 |
| Prestashop version | 1.6, 1.7, 8, 9 |
| Last update | 24. 11. 2026 |
| License validity | Unlimited in time |
| Support | 12 months |
| Localisation | Czech, English, German, Polish, Slovak |
| Minimum PHP version | 7.3 |
| PHP Version | 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 |
Installation, setup and custom changes are a paid service. Custom development
Question about the module
Tell us what you need to solve in your shop. We will advise whether the module helps you, how to set it up and what else you will need.