Hi, I am working on my 4.6.0 store and trying to add a line to order_invoice.tpl to show if an order is "wholesale" or "retail". I tried adding the same lines I did in my 4.4.5 store which work great but they don't seem to be working in my 4.6.0 store, or if it does, it is sporadic. Here is what I have...
/common_files/mail/html/order_invoice.tpl
Code:
<strong>Membership:</strong> {if $userinfo.membership eq 'Wholesale'}Wholesale
{else}Retail
{/if}
and in /ideal_responsive/mail/html/order_invoice.tpl
Code:
<strong>Membership:</strong> {if $userinfo.membership eq 'Wholesale'}Wholesale
{else}Retail
{/if}
I am thinking of changing
Code:
$userinfo.membership eq 'Wholesale'
to
Code:
$userinfo.membershipid eq '2'
and see if that works but I have my doubts. I have also tried double quotes instead of single quotes around Wholesale but that didn't seem to work either. Am I missing something? I just logged in and placed an order and it said WHOLESALE but last night I got one that was wholesale and it said RETAIL even though the prices were wholesale.