![]() |
Extra Field if statement
i have an extra field that shows on a product page with a service name "new_used" and two values "new" and "preowned". i just want to show an image when a product is new. anybody know how i can do it?
|
Re: Extra Field if statement
{foreach from=$extra_fields item=ef}
{if $ef.service_name eq "new_used" && $ef.field_value eq "new"} <img src="xxx" height="xxx" width="xxx" alt="xxx" /> {/if} {/foreach} |
All times are GMT -8. The time now is 02:05 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.