Sold products and the sales amount in OpenCart admin
The module adds the columns "Number of sales" and "Amount of sales" to the products list in the OpenCart admin. These columns will display the sales counters of each product with the ability to sort by their values.
Sales statistics individually for each product in the default section of the admin Catalog > Products. Automatic calculation of sold products and the sales amount based on complete paid orders.
Sort products by purchase quantity and sales amount.
Module installation instructions:
Upload the module in the admin panel in the "Extensions" : "Install".
Go to the "Modifications" section and update the cache.
Go to the "Dashboard" section and update the template cache.
Go to "Extensions" : "Extensions" : "Modules" and enable "Sales Counters" module.
Bingo!
Changelog of Product Sales Counters
v1.0.1 (28 October 2024) - Counters are stored in a database and not counted every time
You must be logged in to view the files!
Antony Martin
18 November 2023
Five stars for extension and for support, does exactly what I needed.
Highly recommended.
A developer cheat sheet on using ternary operators in Twig. It will be useful for new developers of OpenCart and other CMSs that use this templating engine.
The OpenCart team has officially presented release 3.0.5.0, which contains a significant package of fixes, code cleanup, and compatibility improvements with modern PHP versions.
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.