![]() |
calling an extra field in 4.0.13?
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} 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} 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 |
|
why not just do
Code:
{if $images} |
All times are GMT -8. The time now is 06:59 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.