In questo articolo riassumeremo i comandi utili a svuotare le tabelle del catalogo prodotti e degli ordini in modo da preparare il sito web al popolamento per andare online.
Prima di procedere è utile studiarsi la struttura del database illustrata al seguente link: http://doc.prestashop.com/display/PS14/Database+Structure
I comandi sono i seguenti da fare copia-incolla:

TRUNCATE TABLE `ps_orders`;
TRUNCATE TABLE `ps_order_detail`;
TRUNCATE TABLE `ps_order_discount`;
TRUNCATE TABLE `ps_order_history`;
TRUNCATE TABLE `ps_order_return`;
TRUNCATE TABLE `ps_order_return_detail`;
TRUNCATE TABLE `ps_order_slip`;
TRUNCATE TABLE `ps_order_slip_detail`;
TRUNCATE TABLE `ps_cart`;
TRUNCATE TABLE `ps_cart_discount`;
TRUNCATE TABLE `ps_connections`;
TRUNCATE TABLE `ps_message`;
TRUNCATE TABLE `ps_customer`;
TRUNCATE TABLE `ps_customer_group`;
TRUNCATE TABLE `ps_page_viewed`;
TRUNCATE TABLE `ps_connections`;
TRUNCATE TABLE `ps_connections_page`;
TRUNCATE TABLE `ps_connections_source`;
TRUNCATE TABLE `ps_page_viewed`;
TRUNCATE TABLE `ps_guest`;
TRUNCATE TABLE `ps_product`;