I have a large number of products that share a list of about 52 related products, which I am displaying in a slider on the product page. I would like to take these 52 products and put them in their own category, then use that category to list those related products. It would save me TONS of time, especially down the road. Is this possible? Can someone point me in the right direction?

  • Where do you want to list them? – Sander Mangel Nov 3 '15 at 21:20
  • I want to list the products in the related products block – Nick Nov 3 '15 at 21:35
  • I just like to be able to select a certain category of products to display in the "Related Products" – Nick Nov 3 '15 at 21:36

This should work :

  • Add a custom product attribute say related_product_cat_id
  • At product detail page use this attribute to load related products and display them.

If you are on EE, you may use rule based product relations instead.

| improve this answer | |
  • Is there a way to set the category id of the products I need displayed in the related.phtml file? – Nick Nov 3 '15 at 21:15
  • Yep!, create a custom module to rewrite catalog/product_list_related block and override _prepareData() method – anshuman Nov 4 '15 at 9:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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