magento2 product Item with the same ID

3.61K 浏览开发笔记

magento2 product Item with the same ID

 magento2 product Item (MagentoCatalogModelProductInterceptor) with the same ID 

查找重复的产品并删掉多余的

SELECT * FROM cataloginventory_stock_item WHERE product_id in ( SELECT product_id FROM cataloginventory_stock_item GROUP BY product_id HAVING ( COUNT(product_id) > 1 ) )

0
【腾讯云】618采购季来袭!爆款云服务器18元起,参与活动享多重好礼
【腾讯云】境外1核2G服务器低至2折,半价续费券限量免费领取!