| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
help showing icon to right of a option dropdown | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
help showing icon to right of a option dropdown
hi guys i am abit stuck and could use some help
i need the following if product option is Size to display an icon ie my size guide icon i use {foreach from=$extra_fields item=v} {if $v.field eq "Size" && $v.field_value} <div>{$v.field_value}</div> {/if}{/foreach} this displays my size guide icon if that product has a size guide i have included and image so you can see what i am trying todo any help would be great http://www.tacksales.co.uk/images/Untitled-4.jpg
__________________
X-cart - 4.3.2 loads of mods and custom code |
|||||||
#2
|
|||||||
|
|||||||
Re: help showing icon to right of a option dropdown
{foreach from=$extra_fields item=v}
{if $v.field eq "Size" && $v.field_value} <div>{$v.field_value}</div>{if $extra_fields == 'fieldName'}Size guide{/if} {/if}{/foreach} Could try something to that extent. |
|||||||
#3
|
|||||||
|
|||||||
Re: help showing icon to right of a option dropdown
if anyone is intrested i got this to work useing the following
{if $v.class eq "Size"} {foreach from=$extra_fields item=v} {if $v.field eq "Size" && $v.field_value} <div style="float:right">{$v.field_value}</div> {/if}{/foreach} {/if} this displays the info i enter into an extra fiend only next to the size option dropdown xcart 4.3.2
__________________
X-cart - 4.3.2 loads of mods and custom code |
|||||||
|
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|