| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Hide Menu Item Unless Member | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Hide Menu Item Unless Member
Is there are a way to hide a header menu item unless the user is logged in with an approved membership?
__________________
Dawn X-Cart Business 5.3.6.3 Mods: Qty input - Custom Mod Part numbers near title - Custom Mod Membership approval before ordering - Custom Mod Order Forms - Custom Mod Freight on Board - Custom Mod Catalog Order Form Call For Price Template: Crisp White skin Running on Windows |
|||||||
#2
|
|||||||
|
|||||||
Re: Hide Menu Item Unless Member
I guess it suffices to
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Hide Menu Item Unless Member
You can set menu item to show only for logged in customers but that's it. As long as customer is logged in the menu item will show regardless of membership.
If you need it for membership it has to be custom coded and extend the menu functionality to be able to set not only "logged in" but also memberships that apply. An easier solution, however still involving some coding, will be to set the menu for logged in only and then if not-approved membership tries to go to the page redirect to static page with some explanation why it is not working for them. This approach is easier to do and will not involve any database changes and complicated admin/customer sides coding.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|