Originally Posted by
tp1687
It has come to light that they likely deleted a couple of actual product types by mistake. Any easy way to try to restore those? Seems like this may have been our trigger and I'd like to see if getting them back helps in any way.
Could apply the following (possibly one by one or each as necessary to restore the product type database information, or manually enter the information as necessary, whatever works):
Code:
INSERT INTO product_types VALUES (1, 'Product - General', 'product', '1', 'Y', '', now(), now());
INSERT INTO product_types VALUES (2, 'Product - Music', 'product_music', '1', 'Y', '', now(), now());
INSERT INTO product_types VALUES (3, 'Document - General', 'document_general', '3', 'N', '', now(), now());
INSERT INTO product_types VALUES (4, 'Document - Product', 'document_product', '3', 'Y', '', now(), now());
INSERT INTO product_types VALUES (5, 'Product - Free Shipping', 'product_free_shipping', '1', 'Y', '', now(), now());
The above is from the default ZC install sql and basically applies to all ZC from 1.20 and beyond.
Bookmarks