The module allows you to provide a discount for each n-item in the cart with various additional conditions of the promotion in the online store on OpenCart. For example, you can make a discount for every second product or make every third product in the cart free. The discount can be applied to the cheapest product in the receipt or the most expensive product, or to the product added to the cart.
DEMO AdminDEMO Live demo/demo
With the help of the "Discount for every n-item in OpenCart" module, you can make a discount from 1 to 100% for every n-th item in the cart or among all the items purchased by the client. The module has many settings that will allow you to create a promotion for specific products.
Examples of promotions that can be organized using the discount module:
every second product as gift
every 3rd product from the category is free;
every 4th manufacturer's product with a 50% discount;
every second item in the cart with a 30% discount
when buying 3 products - one free;
a promotion for a product of a certain category and manufacturer at the same time;
buy 1 - get the next one for free;
loyalty system with discounts on subsequent orders;
special discount: 1+1, 2+1, 3+1, 4+1 etc.
The main capabilities of the module:
discount from 1% to 100% (free of charge);
different options for counting products: any product, the same product, from the same category, from the same manufacturer;
product filter by category and manufacturer;
a discount on the product in the order in the basket, on the cheapest product, on the most expensive product;
consider only the products in the cart or all the products purchased by the buyer;
promotion for certain groups of buyers or only registered ones;
custom title for discount in cart.
Module installation instructions:
Upload the module in the admin panel in the "Extensions" : "Install".
Go to the "Extensions" : "Extensions" : "Order Totals" and enable the module.
Edit module. Enable the status of the module and adjust all its options to your needs and save the settings.
Check module operation.
Bingo!
Changelog of Discount on every n-product
v1.0.4 (22 August 2024) - Added filter for guest customers (Guests)
v1.0.3 (20 November 2023) - Fixed extension operation with standard tax rates
v1.0.2 (19 June 2023) - Fixed compatibility issue with PHP 5.6
v1.0.1 (19 May 2023) - Fixed bugs in adding discounts by category, manufacturer
You must be logged in to view the files!
Александр Воробей
03 January 2023
Вітання всім. Модулем задоволений на 110%. Доробили умови під мої нестандартні знижки. Все чітко в термін.
On November 20, 2025, a new major release of PHP was published - version 8.5. PHP 8.5 introduces useful improvements, but requires a careful approach when integrating into existing OpenCart projects.
Let’s look at OpenCart optimization methods that don’t require purchasing additional modules or paying for services. The main stages of OpenCart speed optimization.
✕
We use cookies and other tracking technologies to improve your browsing experience our website, to personalize content and ads, provide social features media and our traffic analysis.
Necessary cookies enable core functionality of the website. Without these cookies the website can not function properly.
Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.
A set of cookies to collect information and report about website usage statistics without personally identifying individual visitors to Google.
Marketing cookies store user data and behaviour information, which allows advertising services to target more audience groups.