|
The system will report an error if you uninstall the Sample, as the Category dada is kept in Sampledata.
Not to import the Sampledate and to ensure good operation of the system, you can insert the following snippet #product categoies which is under root/install/tomatocart_sample_data.sql into tomatocart.sql that shares the same directory with #product categoies. Re-install again, it should work.
INSERT INTO toc_categories (categories_id, categories_image, parent_id, sort_order, date_added, last_modified) VALUES
(1, 'categories_notebooks.jpg', 0, 0, now(), NULL),
(2, 'categories_desktops.jpg', 0, 0, now(), NULL),
(3, 'categories_monitor.jpg', 0, 0, now(), NULL),
(4, 'categories_printer.jpg', 0, 0, now(), NULL),
(5, 'categories_ipod.jpg', 0, 0, now(), NULL);
INSERT INTO toc_categories_description (categories_id, language_id, categories_name) VALUES
(1, 1, 'Laptop'),
(2, 1, 'Desktops'),
(3, 1, 'Monitors'),
(4, 1, 'Printers & Scanners'),
(5, 1, 'iPod & Camera');
|