Hi All,
I'm trying to include a couple of additional fields on my registration.tpl page, but only when a product has a certain extra field applied to it and when the product option has a certain title. I have this working perfectly on my order invoice template like so :
Code:
{foreach from=$products item=product}
{if $product.extra_fields.0.value ne '' && $product.product_options_txt eq "Product Options: Online Streaming Course"}
{include file="customer/main/register_additional_info.tpl" section='A'}
{/if}
{/foreach}
For whatever reason, this is NOT working on my register.tpl page. Any ideas why I can't loop through the products array and specify the extra product field id or the product option title, but I can on my order_invoice.tpl page?