View Single Post
  #13  
Old 02-21-2014, 11:05 AM
 
keystone keystone is offline
 

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

Default Re: Adding membership type to order invoices

Hi Steve,
I pasted your code in the template but don't get any output.

Here is some code that is already in there to pull the customers first name...

Code:
{if $_userinfo.default_fields.firstname}

The thing is, if I log in as a WHOLESALE account and keep my initial code (post #1)
Quote:
<strong>Membership:</strong> {if $userinfo.membership eq 'Wholesale'}Wholesale
{else}Retail
{/if}
in the template I get Membership: Wholesale to output on the invoice as long as I use Phone Order or Purchase Order as the payment method. Even works when I pay with Paypal. As soon as I use Credit Card (Authorize.net DPM mod) as the payment method, it doesn't work any more.
__________________
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