I have installed the OpenCart best-seller extension and placed it on the homepage layout, but it is not displaying any products.
Upon investigation, I examined the getBestSellers function within the Bestseller model. I found that its SQL query selects products from the oc_product_bestseller table, but this query returns no records because the table is empty. Furthermore, I cannot find any code responsible for inserting records into the oc_product_bestseller table.
Could anyone explain how the best-seller product data is generated? I am using OpenCart version 4.0.2.3. Thanks.
The getBestSellers function is located in the file extension/opencart/catalog/model/module/bestseller.php
Who is online
Users browsing this forum: No registered users and 4 guests