View Single Post
  #93  
Old 11-06-2008, 12:32 PM
  Kara's Avatar 
Kara Kara is offline
 

Advanced Member
  
Join Date: May 2006
Location: O'fallon, Missouri
Posts: 77
 

Question Re: common if/then modifications I make to x-cart...

We are trying to hide our coupon code box from our wholesale customers.

We moved the coupon template to display just below the subtotal in cart_totals.tpl. This seems to work best because people are logged in when they have a chance to put in their coupon code, and it is much more visible to those trying to find where to enter the code.

This is what we have in cart_totals.tpl:

{if $membership_levels ne "Wholesale"}
{include file="modules/Discount_Coupons/add_coupon.tpl"}
{/if}

also tried {if $membership_levels.membership ne "Wholesale"}

It is still displaying the coupon box when logged in as a wholesale customer. Anyone have any ideas here? : )

(x-cart 4.1.
__________________
x-cart gold 4.6

Kara Design Group, Inc.
http://www.karadesigngroup.com
Professional Creative Services
Reply With Quote