Post by nyo » Mon Jul 21, 2025 12:12 am

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

nyo
Newbie

Posts

Joined
Sat Jul 28, 2018 11:11 pm
Who is online

Users browsing this forum: No registered users and 4 guests