Is there a way to parse Smarty tags in extra fields? I went to the product.tpl file in skin1/modules/Extra_Fields and changed
Code:
{$extra_fields[field].field_value}
to
Code:
{eval var=$extra_fields[field].field_value}
but it just kept the field from displaying at all.
I want to have a manufacturer extra field that would be a link to the manufacturer's page of products (like thay do at Amazon, etc.) The link would be the same as clicking on the manufacturer's name in the Manufacturers menu. I know I could just do a regular HTML link with the actual URL, but using variables would save me from having to look up the ID each time and would also prevent mistakes.
I'm not a Smarty expert so I don't know what else is involved. I just looked at the pages.tpl file under skin1/customer/main because I know we have the option of parsing Smarty tags in embedded static pages. I'm thinking something needs to be captured in addition to the eval.
If anyone has more expertise in Smarty templates and might know how to make this happen, I'd really appreciate it.
Thanks,
Jill