Forums / General / shop

shop

Author Message

Carlos Revillo

Monday 11 September 2006 3:07:12 am

hi. i've working with shop module and making some checks. all is well.
in http://host/index.php?/administracion/shop/statistics, i see statics for products.
i want to know if it's possible to reset this stats. i mean, i want all products has "quantity" to 0...

Ɓukasz Serwatka

Monday 11 September 2006 11:47:02 am

Hi Carlos, this is not possible by default. You may look on eZOrder::cleanupOrder( $orderID ) method, and re-use SQL queries for cleaning up your tables (ezproductcollection and ezproductcollection_item). Make sure that you did database backup.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog