I am trying to display a product's dimension table inside the description of every product's page.
There are two table files, one for each man and woman clothing.
There are more than one category for each (male jackets->category id=2, male t-shirts->category id=4, etc...)
I added the following code inside product.tpl:
{$mancateg = array (2, 4, 6)}
{foreach($mancateg as $value)}
{if ($value == $smarty.get.id_category)}
{include file="./men_table.tpl" products=$products}
{/if}
{/foreach}
the code above is only for the male situation. but it doesn't work.
f I write something like this the table appears, but this does not solve my problem with filtering:
{if ($smarty.get.id_category != 27)}
{include file="./men_table.tpl" products=$products}
{/if}