witam,
chcę pobrać kombinacje na liście produktów (product-listing.tpl)
Próbowałem tak:
{foreach from=$group.attributes key=id_attribute item=group_attribute} <div style="background-color:#000;color:#fff!important;width:30px;height:17px;float:left;padding:5px;margin:5px;cursor:pointer;" onclick="zaznacz('{$id_attribute|intval}');findCombination()">{$group_attribute|escape:'htmlall':'UTF-8'}</div>{/foreach}
ale za nic nie udaje się ich pobrać, za to wklejajac ten kod do product.tpl wszystko działa ok...co robie źle?