Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Reseting Reports Info back to Zero


mpapier

Recommended Posts

Posted

I have been testing my store for a while and am getting ready to go live. I'd like to reset all the information that has been collected in the Reports sections. IE Best Viewed Products, Products Purchased, etc.

 

Is there a way to do this?

 

Thanks!

Posted
You got to go to the database with phpMyadmin and reset them manually.

 

Do you know what query I run and on what table?

Posted

Yes I do.

 

To reset the ordered products:

 

update products set products_ordered = 0

 

reset the views

 

update products_descriptions set products_viewed = 0

 

and so on...

 

This question has appeared so often recently, that I'm considering to write a contrib for the admin section to achieve this goal.

Posted
Yes I do.

 

To reset the ordered products:

 

update products set products_ordered = 0

 

reset the views

 

update products_descriptions set products_viewed = 0

 

and so on...

 

This question has appeared so often recently, that I'm considering to write a contrib for the admin section to achieve this goal.

 

That worked perfectly! Thank you!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...