![]() |
Re: if/then for wholesale customers...
In this case you should use the instructions from my post -> http://forum.x-cart.com/showpost.php?p=315987&postcount=2
In the welcome.tpl you can use something like: Code:
{if $user_account.membershipid eq 0} |
Re: if/then for wholesale customers...
Quote:
Thanks this worked! :D/ |
Re: if/then for wholesale customers...
this is great stuff...and
{if $user_account.membershipid eq 0} ... no membership ... {elseif $user_account.membershipid eq 9} ... specific membership ... {/if} works on product pages but when on homepage the $user_account.membershipid doesnt exist when looking at the variables in webmaster mode. I've spent hours on this already...can't seem to get a module to ONLY SHOW if a user is logged in with a membership level. Please help, i'm using 4.4.3 |
Re: if/then for wholesale customers...
it doesn't work on the welcome page either.
I tried to change this file: /2-columns/customer/main/welcome.tpl Quote:
Please help! Using 4.4 |
Re: if/then for wholesale customers...
can anybody whether this condition is correct?
{if $user_account.membershipid eq 0} It doesn't recognize the condition. I even tried: {if $user_account.membershipid eq '0'} and {if $user_account.membershipid eq "0"} They all don't work. If want to show welcome message A to pending user with: Sign up for membership ; Wholesale Membership : Not member and show welcome message B to activated user : Sign up for membership ; Wholesale Membership : Wholesale |
All times are GMT -8. The time now is 03:19 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.