Forums / General / shop

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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