Jump to content

.TPL editing for use with javascript question


Recommended Posts

Hi, I am in the process of editing product.tpl. I am trying to use the variable groupName assigned to the attributes in javascript. I was curious as how you would reference it in javascript dynamically for use.



{foreach from=$group.attributes key=id_attribute item=group_attribute}

{$group_attribute|escape:'htmlall':'UTF-8'}

{/foreach}

Link to comment
Share on other sites

×
×
  • Create New...