Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Update related products in fell swoop
 
Brent W Peterson
Moderator
 
Avatar
Total Posts:  3217
Joined:  2009-02-26
Minneapolis MN
 

This will add same related products to any number of similar products in a matter of seconds.

insert into catalog_product_link (product_idlinked_product_idlink_type_id)
(
SELECT entity_id, @Id1 FROM catalog_product_entity where entity_id between @beingId and @endId)

Please enjoy with a cool glass of iced tea and a Toblerone bar.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top