且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Magento-公共产品页面中的404错误

更新时间:2023-11-30 13:58:52

转到您的数据库并运行以下SQL查询:

Go to your DB and run this SQL query:

INSERT INTO `report_event_types` (`event_type_id`, `event_name`, `customer_login`) VALUES
(1, 'catalog_product_view', 1),
(2, 'sendfriend_product', 1),
(3, 'catalog_product_compare_add_product', 1),
(4, 'checkout_cart_add_product', 1),
(5, 'wishlist_add_product', 1),
(6, 'wishlist_share', 1);

P.S.检查数据库名称前缀(如果有)!

P.S. check DB name prefix if you have it!