I'd like to remove all sample data and start from scratch with a brand new OpenCart 1.5.x.
All infos I could get are for the 1.4.x versions
http://forum.opencart.com/viewtopic.php?t=13268
There's a script from Mike G which truncate the involved tables.
This script is for the 1.4 version but I tried it anyway. Obviously I
get error messages saying some tables don't exist.
So I removed these tables from the script:
Code: Select all
$tables = array(
'address',
'category',
'category_description',
'category_to_store',
'coupon',
'customer',
'download',
'download_description',
'manufacturer',
'manufacturer_to_store',
'product',
'product_description',
'product_discount',
//'product_featured', //Removed
'product_image',
'product_option',
//'product_option_description', //Removed
'product_option_value',
//'product_option_value_description', //Removed
'product_related',
'product_special',
'product_to_download',
'product_to_store',
'review',
'store',
//'store_description', //Removed
'product_tag', //remove the "s" at the end of "tag".
'order',
'order_download',
'order_history',
'order_option',
'order_product',
'order_status',
'order_total',
'product_to_category',
//'coupon_description', //Removed
'coupon_product',
);
BUT I'm new with OpenCart and I'm not sure that the job has really been done.
So can someone tells me what are precisely the tables to be truncated ?
Thanks for advance