I am trying to create a relation between a bundled product and a virtual product. So I thought: "Let's just add the virtual product as related product."

However it was not showing in the related product list. After some trial and error (i.e. adding all products as related and see which were omitted) I found that it was only omitting virtual products from the related product list.

My question is:

Is this normal Magento (CE behaviour? (I am editing an already active Magento installation) If so, why are virtual products omitted by default? How do I include them in the related products list?

1 Answer 1


From what I can tell by looking at Mage_Catalog_Block_Product_List_Related the behavior you described is not the default one. If you look at the _prepareData() you will see that in order for the product to appear the following conditions must be met:

  • Product must be assigned to current website
  • Product must not be in cart
  • Product must be visible in catalog
  • Thanks. A lot of products I added to the related product list were actually from another store. But if I'm correct I can change this behaviour by overriding Mage_Catalog_Block_Product_List_Related right? Dec 26, 2014 at 12:26
  • Actually it's not that simple. You will have to assign product to a website because of the price indexer, url rewrite indexer and a few other reasons. Dec 26, 2014 at 13:44

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.