i have added a products in the magento store. and now i want to add the related products in each of the products. problem is that, i am adding the products one by one for each product and it is taking a lot of time as i have hundreds of products in the store. Is there any way to add the related products directly on each and every products. any help will be grateful.

2 Answers 2


You can find here an extension that let's you bulk upload (or manually insert) product relations (upsell, crossell, related, and with some simple code changes you can add custom relations if you have any).
This explains how to use it..

You can create a csv file with product skus or ids to be related and their position in the relation:


What is after : means the position of the product in the relation. You can perform 3 different actions:

  • Relate all on one line to first product in line.
  • Relate all products on one line
  • Relate all products among themselves

This is a useful link for programatically set related , upsell and crosssell products Link

  • 3
    Posting a link is not a good practice. Tomorrow the remote page is gone and your answer is not valid anymore. Please copy at least the main idea of the solution you linked into your answer. Even though the article is very small. Jul 28, 2013 at 20:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.