![]() |
Re: Targeting a whole Sub-Category with one if statement?
Thank you Christine! Looks like what I'm after, gonna try it out :)
|
Re: Targeting a whole Sub-Category with one if statement?
Ahh.. Thanks Amy, that looks like was the extra Y/N bit I was wondering about - FAB!!
|
Re: Targeting a whole Sub-Category with one if statement?
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 :-) |
All times are GMT -8. The time now is 07:50 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.