Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to reset Admin Reports?


BoulderDash

Recommended Posts

Hey there,

We're going to go live some time soon and I'd like to clear the following, so that all of the Products we viewed and purchased while building the website aren't counted:

 

- Products Viewed

- Products Purchased

 

 

Would someone please tell me what to clear in the database so that when the website goes live we do not have all of that test data included?

 

Thank you in advance,

BD

Link to comment
Share on other sites

  • 4 weeks later...

Hi,

 

This may be to late for you, but in case anyone else has the same question here is how I reset them.

 

One way is to edit your database (via myphpadmin or similar) then drop and re-add the proper fields.

 

To reset Best Viewed Products -

Goto Table products_description then drop and re-add the Field: products_viewed with type = int(5), Null = yes, Default = 0

 

To reset Best Products Purchased -

Goto Table products then drop and re-add the Field: products_ordered with type = int(11), Null = no, Default = 0

 

Hope this helps.

Link to comment
Share on other sites

  • 2 years later...

The easiest and quickest way to do this is to run these Queries in phpMyAdmin.

 

update products_description set products_viewed = 0

 

update products set products_ordered = 0

 

 

:)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...