| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Targeting a whole Sub-Category with one if statement? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Thank you Christine! Looks like what I'm after, gonna try it out
![]()
__________________
X-Cart Gold Version 4.2.1 |
|||||||
#12
|
|||||||
|
|||||||
![]() Ahh.. Thanks Amy, that looks like was the extra Y/N bit I was wondering about - FAB!!
__________________
X-Cart Gold Version 4.2.1 |
|||||||
#13
|
|||||||
|
|||||||
![]() Just wanted to say thanks to the above guys and girls, this worked a treat!
added extra field in admin with Service Name 'tank_mates' and a default value of 'no' and put the code below in product.tpl {section name=field loop=$extra_fields} {if $extra_fields[field].service_name eq "tank_mates" && $extra_fields[field].field_value eq "yes"} <div id="layer1"{if $active_set ne 1} style="display:none;"{/if}> {if $active_modules.Upselling_Products} {include file="modules/Upselling_Products/related_products.tpl" } {/if} </div> {/if} {/section} Hope that and the above helps anybody else trying to figure this out ![]()
__________________
X-Cart Gold Version 4.2.1 |
|||||||
|
|||
X-Cart forums © 2001-2020
|