Hi,
In my shop I have an anchor link on the product details page which jumps down to the detailed images area. Some of the products have detailed images and some don't so I wanted the link to show up when a product does and not show up for the ones that don't. I have set up an extra field with values of "Y" or "N" and in version 3.5.x I have added this code to call (or not call) the link - - -
Code:
{if $product.param00 ne N} {include file="detailed_images.tpl"}{/if}
which works fine.
My problem is that when trying to do the same thing in 4.0.13 I can't get it to work. From reading other posts I see that calling an extra field has changed a bit and I have tried - - -
Code:
{if $extra_fields[00].value ne 'N'}{include file="detailed_images.tpl"}{/if}
as well as some variations, but can't get it to work.
Can anyone show me how to write this statement so that it works in 4.0.13 the same as it does for me in 3.5.x?
Thanks in advance