
Originally Posted by
DrByte
You should only have product_type_to_category records for categories that have restrictions on them.
So ... fastest way to fix ....
1. truncate the product_type_to_category table
..... actually, check the table structure in your database vs the original in the mysql_zencart.sql file in the zc_install folder. Perhaps even drop and recreate it.
2. Now go and rebuild all your product-type restrictions on each of your categories.
3. Be sure to do good backups.
4. Go back and look at all your code-customizations to find out if anything you've changed could affect that table in any way.