Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Display Membership Level?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-27-2008, 09:48 PM
 
1day2004 1day2004 is offline
 

Senior Member
  
Join Date: Dec 2004
Posts: 115
 

Default Display Membership Level?

Hi,

How would it be possible to display the customers membership level on the registration page?

I've tried the following without success:

Code:
$membership_levels $userinfo.membershipid $membershipid $userinfo.membership $membership $user_membership
__________________
Version 4.0.8 Live
Reply With Quote
  #2  
Old 03-28-2008, 12:14 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Display Membership Level?

Quote:
Originally Posted by 1day2004
Hi,

How would it be possible to display the customers membership level on the registration page?

I've tried the following without success:

Code:
$membership_levels $userinfo.membershipid $membershipid $userinfo.membership $membership $user_membership

PHP Code:
{* Display membership level *}

<
tr style="display: none;">
<
td>
<
input type="hidden" name="membershipid" value="{$userinfo.membershipid}/>
<
input type="hidden" name="pending_membershipid" value="{$userinfo.pending_membershipid}/>
</
td>
</
tr>

{else}

{if 
$config.General.membership_signup eq "Y" and ($usertype eq "C" or ($active_modules.Simple_Mode ne "" and $usertype eq "P") or $usertype eq "A" or $usertype eq "B") && $membership_levels}
{include 
file="admin/main/membership_signup.tpl"}
{/if}

{if 
$usertype eq "A" or ($usertype eq "P" and $active_modules.Simple_Mode ne "") && $membership_levels}
{include 
file="admin/main/membership.tpl"}
{/if}

{* /
Display membership level *} 
Reply With Quote
  #3  
Old 04-09-2008, 10:55 AM
 
SGS SGS is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 99
 

Default Re: Display Membership Level?

Hi,

Thanks for the code for displaying the membership level on the registration page.

What I would like to do is display the membership level on the customer "Modify Profile" page. Any idea on where to start and a good place to put it?

Also, I need to create a section above the " "Your Cart" that would display 3 maybe 4 lines of of info. I currently am using the Your cart Section to display the listed info below and I am able to do this using the "userinfo.membership" code. problem is that when a member login, the membership level does not show until certain pages are select such as the Refer A Friend and View cart. I need it to be displayed all the time a customer is l is logged in. I know that the code I am using is not the correct code. Any idea what code can be used?

1. Membership Level; Bronze, Silver or Gold
2. Reward Points: display 0 or number when logged in.
3. Coupon Schedule: Hard link to Calendar.
4. Extra line of info
If you want to have a look and see a better example, www.powerfusion3d.com

thanks
__________________
Currently Using:

For X-cart v5.2.0
1 Business v5.2.6 license <Getting Better>!
1 Banner Mod 5.2.7 license
1 #28 iGoods Template

For X-cart v4.7.0

1 GoldPlus v4 license unused

3 Gold v4 license Unused

A wise man once said it is best to fix the cart instead of trying to use a broken cart. The horse has a very hard time pushing a broken cart!!
Reply With Quote
  #4  
Old 10-24-2011, 11:24 AM
 
jwpenn jwpenn is offline
 

Member
  
Join Date: Jul 2008
Posts: 13
 

Exclamation Re: Display Membership Level?

Is there a way to do the same on the welcome.tpl page ? It seems that when I use this it does not work.. what am I missing?

HTML Code:
{if $user_account.membershipid eq 9} {$lng.txt_welcomeedge} {else} {$lng.txt_welcome} {/if}

Thanks if you can help.
__________________
X-cart Gold
Version 4.1.9
Reply With Quote
  #5  
Old 11-02-2011, 11:18 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Display Membership Level?

Try these instructions -> http://forum.x-cart.com/showpost.php?p=315987&postcount=2
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following user thanks qualiteam for this useful post:
jwpenn (11-03-2011)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:08 AM.

   

 
X-Cart forums © 2001-2020