[SOLVED] Products: How to build related products
Posted: Thu Nov 21, 2013 1:11 pm
Hi,
In my detail product template, I would like to fill a DIV with all products from the current category. So I could recall the {Products} tag again like:
But since a product can belong to multiple categories, I would like to create a comma separated list of categories at the top of my detail template and re-use it further on, since the category handler will take multiple categories in a comma separated list.
Problem is, I not a good programmer. I've been trying foreach loops and |implode and |explode modifiers for some hours now, but can't get it right..
Anyone have a clue?
In my detail product template, I would like to fill a DIV with all products from the current category. So I could recall the {Products} tag again like:
Code: Select all
{Products summarytemplate="list" category="$category->name"}Problem is, I not a good programmer. I've been trying foreach loops and |implode and |explode modifiers for some hours now, but can't get it right..
Anyone have a clue?