Reputation: 1216
I need to modify an element on a web page, build on some sort of custom management system called ImageCMS, but I cannot determine what programming or scripting language is being used by the system.
Could you please check the code snippet below and show me the right direction? :)
<select name="variant" id="variantSwitcher">
{foreach $variants as $key => $productVariant}
<option value="{echo $productVariant->getId()}">
{if $productVariant->getName()}
{echo ShopCore::encode($productVariant->getName())}
{else:}
{echo ShopCore::encode($model->getName())}
{/if}
</option>
{/foreach}
</select>
Upvotes: 0
Views: 53