| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  User manuals |  Login | 
|  | 
| Hiding a Menu/Category Based on Membership Level | ||||
|  |  | |||
|  | Thread Tools | Search this Thread | 
| 
			 
			#1  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Hiding a Menu/Category Based on Membership Level Is there a way of hiding a (custom) menu/category based on membership level?  I know this can be done with Categories, but for instance if I wanted to set up a seperate menu that was only viewable if you were a member of "x", how would I do that???? Thanks, Rick 
				__________________ Stealth Cords - Discrete Power Cords for Automotive Enthusiasts www.stealthcords.com X-Cart version: 4.1.9 | |||||||||
| 
			 
			#2  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Hiding a Menu/Category Based on Membership Level As I know you can use such Smarty code (for example): {if $userinfo.membership eq "Premium"} ...your menu... {/if} In the case of Premium membership menu the will displayed. 
				__________________ Regards, Anthony Holub X-Cart Skins Store   - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on | |||||||||
| 
			 
			#3  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Hiding a Menu/Category Based on Membership Level Perfect - thanks! 
				__________________ Stealth Cords - Discrete Power Cords for Automotive Enthusiasts www.stealthcords.com X-Cart version: 4.1.9 | |||||||||
| 
			 
			#4  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Hiding a Menu/Category Based on Membership Level Quote: 
 For some reason it doesn't seem to be working for me on the homepage. If I log on it still won't show the menu - however if I hit view cart the menu will pop-up. Any ideas? 
				__________________ Stealth Cords - Discrete Power Cords for Automotive Enthusiasts www.stealthcords.com X-Cart version: 4.1.9 | |||||||||
| 
			 
			#5  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Hiding a Menu/Category Based on Membership Level This doesn't appear to work for me. I have put  Quote: 
 In my customer/main.tpl and have a custom menu box called downloadbox.tpl The box won't display when I log in to the site. Any ideas please? Thanks 
				__________________ Version: 4.1.9 | |||||||
| 
			 
			#6  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Hiding a Menu/Category Based on Membership Level Please, try to insert into /customer/home.tpl the row like  !{$userinfo.membership}! and !{$userinfo.membershipid}! and log in. If you will see anything between two "!" please inform. Seems like membership variable is empty but membershipid must be filled with 0 or more than 0. 
				__________________ Regards, Anthony Holub X-Cart Skins Store   - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on | |||||||||
| 
			 
			#7  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Hiding a Menu/Category Based on Membership Level Hi I get nothing between either sets of !! so it would indicate that the variables are blank for some reason. Thanks for any advice given John 
				__________________ Version: 4.1.9 | |||||||
| 
			 
			#8  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Hiding a Menu/Category Based on Membership Level Okey. Insert into the end of auth.php before "?>" Code: 
 In /skin1/customer/home.tpl insert Code: 
 You can find out membershipid via code in /skin1/customer/home.tpl Code: 
 
				__________________ Regards, Anthony Holub X-Cart Skins Store   - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on | |||||||||
| 
			 
			#9  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Re: Hiding a Menu/Category Based on Membership Level Thank you so much - it works perfectly now   
				__________________ Version: 4.1.9 | |||||||
| 
			 
			#10  
			
			
			
			
		 | |||||||||
| 
 | |||||||||
|  Re: Hiding a Menu/Category Based on Membership Level I'm glad that I've help you! 
				__________________ Regards, Anthony Holub X-Cart Skins Store   - twenty two different skins available; - both 4.1.x and 4.2.x versions compatible; - refresh you store now! Smart menu X-Cart add-on Featured Products Slide Show X-Cart add-on "What's New?" FREE X-Cart add-on | |||||||||
|  | |||
| 
X-Cart forums © 2001-2020
 | |||