View Single Post
  #1  
Old 09-30-2016, 12:08 PM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default have promo banner image hidden from wholesale members

x-cart version 4.4.6.

I am setting up a shipping promo. Flat $5.00 shipping on orders over $100. I am creating a banner image that will be displayed across the top of the pages. I want to set a conditional statement that will hid the banner when a wholesale member logs in.

I was trying something like this...

Code:
{if $login eq "" or $membershipid ne 2} <div class="flat_shipping_promo"> <img src="images/flat-5-shipping.gif" /> </div> {/if}

It isn't working so I'm not sure what I need to use instead. Is this possible to do?

Thanks.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote