Jump to content

Recommended Posts

  • 10 months later...

The best sellers module queries the number of sales from the ps_product_sale table, so I guess deleting all the entries or changing the sale_nbr of each product to 0 will reset the best sellers module.

Share this post


Link to post
Share on other sites
  • 1 month later...
  • 2 years later...

This is an old topic but i'd like to post reply for this. In case i forget how to redo it.

  • Go to your database in phpMyAdmin
  • Find [ps_product_sale] table
  • Browse into the table
  • You will find "id_product", "quantity", "sale_nbr", and "date_upd"
  • Change / delete according to your needs

Share this post


Link to post
Share on other sites
  • 8 years later...

Also remember that you will have to clear cache after you have updated your ps_product_sale table

It uses the cached version of best sellers as can be seen in the code

BlockBestSellers::$cache_best_sellers

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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