| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Extra Field if statement | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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?
__________________
X-Cart Pro 4.3.2 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() {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}
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|