![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
IP: 174.128.225.240
|
|||
|
|||
|
if you copy a new site from another zen cart website,you may need to clear all the customer data,include customer info,customer basket,customer order,and product review
Below is a sql script to do that clear job.Be careful when you test it against your zen cart database. TRUNCATE `customers`; TRUNCATE `customers_basket`; TRUNCATE `customers_basket_attributes`; TRUNCATE `customers_info`; TRUNCATE `customers_wishlist`; TRUNCATE `customers_info`; TRUNCATE `customers_basket`; TRUNCATE `orders`; TRUNCATE `orders_products`; TRUNCATE `orders_status_history`; TRUNCATE `orders_total`; TRUNCATE `reviews`; TRUNCATE `reviews_description`; |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simple Steps to Change Your Table Prefix in WordPress | Abby | WordPress | 0 | 2014-04-14 03:40 PM |
| How to Install an Zen Cart Template | topvip | ZenCart | 0 | 2009-08-23 05:35 PM |
| x-cart Template Editing Guide for 4.1.x | topvip | X-Cart | 0 | 2009-04-15 11:42 PM |
| Template Editing Guide for 4.1.x | topvip | X-Cart | 0 | 2009-03-10 08:12 AM |
| 101 ways to get more traffic | sunshine | Google Adsense | 0 | 2007-05-09 08:29 PM |