Jump to content

Vymazanie objednávok (tozn. aj štatistík)


branok
 Share

Recommended Posts

Viete mi niekto poradiť. Predtým, než chcem spustiť do normálnej prevádzky obchod, by som chcel zmazať štatistiky a aj objednávky, ktoré som doteraz pri testovaní shopu vytvoril.
Chcem aby boli štatistiky čisté a začali sa mi tam dávať iba nové údaje z plnej prevádzky a tiež aby som tam nemal zbytočne staré objednávky, ktoré boli iba testovacie.
Dakujem

Share this post


Link to post
Share on other sites

Už som to vyriešil.
Testovacie (aj ine) objednavky sa zmazat nedaju z rozhrania. Treba to urobit cez databazu. Nasiel som to na anglickom fore.

TRUNCATE TABLE `ps_customer`;
TRUNCATE TABLE `ps_address`;
TRUNCATE TABLE `ps_orders`;
TRUNCATE TABLE `ps_order_detail`;
TRUNCATE TABLE `ps_order_discount`;
TRUNCATE TABLE `ps_order_history`;
TRUNCATE TABLE `ps_message`;
TRUNCATE TABLE `ps_cart`;
TRUNCATE TABLE `ps_cart_product`;
TRUNCATE TABLE `ps_cart_discount`; 



Toto treba spustit v phpmyadmin v sql tabulke.

Potom sa to vsetko zmaze a ide sa od nuly.
Link na anglicke forum o tomto probleme: http://www.prestashop.com/forums/viewthread/9045/installation_configuration___upgrade/solved_how_to_reset_or_delete_all_orders_and_customers

Tymto sa vycistia tym padom aj statistiky.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More