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
The bestseller feature does indeed not work for any of the OpenCart 4 versions, this one of many bugs, and a reason not to use OpenCart 4 yet for a live site.
Use the stable OpenCart 3.0.4.1 where the bestsellers work just fine.
Use the stable OpenCart 3.0.4.1 where the bestsellers work just fine.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Who is online
Users browsing this forum: samm91 and 5 guests