Jump to content

[Help] Add product to Top sellers & Specials


Recommended Posts

On "1. Info." page of the product you want to appear in specials block, enter a reduction amount, and then the product will appear in the specials block. The products in the top sellers block are automatically selected based on the number of times the product is sold. There is no way to customise it without changing the code.

Share this post


Link to post
Share on other sites

Unfortunately, I can see no way to increase the number of sales of a product using the back office, so you would need to modify your code or database. I've had look at the top sellers block. It appears to call the getBestSalesLight function in classes/ProductSale.php. You could modify the SQL query to return the products you want. You could also manually increase the number of sales of a product if you want it to appear in the block. Use phpMyAdmin to edit the quantity of the product in the PREFIX_product_sale table.

Share this post


Link to post
Share on other sites
  • 1 year later...
  • 5 years later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More