renamed_account_13401 Posted December 17, 2008 Share Posted December 17, 2008 Does anyone know how to reset the bestsellers module? I would like to start again from zero products listed there. Is it possible? Should I try to delete the sales from backoffice? Or?.... Link to comment Share on other sites More sharing options...
Ostfarsan Posted November 16, 2009 Share Posted November 16, 2009 Hi,I'm also interested to know if this is possible. Regards Link to comment Share on other sites More sharing options...
rocky Posted November 17, 2009 Share Posted November 17, 2009 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. Link to comment Share on other sites More sharing options...
viktorsundberg Posted January 6, 2010 Share Posted January 6, 2010 Please tell me how it's done, in admin or dowloaded file?Also, how do I reset the Cart stats on the first page of "Stats" ? Link to comment Share on other sites More sharing options...
positivezero Posted April 21, 2012 Share Posted April 21, 2012 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 Link to comment Share on other sites More sharing options...
ecentury Posted May 11, 2020 Share Posted May 11, 2020 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now