Hi
Im tring to show a variants table on the product page. I have added the following code to the skin1/customer/main/product.tpl but it doesnt work. Is there any reason this will not work in 4.1.3. I have tried with no luck.
Code:
{if $variants}
<table cellspacing="1" cellpadding="0" border="0" class="chart" width="75%">
<tr class="chart_head">
<td>{$lng.lbl_sku}</td>
<td>{$lng.lbl_description}</td>
<td>{$lng.lbl_our_price}</td>
</tr>
{section name=test loop=$variants}
<tr class="{cycle values="chart_dark,chart_light"}">
<td>{$variants[test].productcode}</td>
{foreach item=item key=key from=$variants[test].options}
<td>{$item.option_name}</td>
{/foreach}
<td>${$variants[test].price}</td>
</tr>
{/section}
</table>
{/if}
Would really appriciate any help
Regards
Kevin