![]() |
Category Appear To All User
In My X-Cart 5 Store, i Set Membership Level To Category. i know, if i set
This, only That Membership User can See that Category in Front End. I need To Customize to See category by all of my user ( either login or Guest). Kindly Suggest Me How To Create This Customize Module or Give Some Reference To Do it... |
Re: Category Appear To All User
Kutty,
We might need some more information in order to answer this correctly. What are you expecting to happen? If you restrict a category to a certain membership, then it is not shown to users without that membership. This is the normal behavior. If you want all users to access it, you can remove the restriction. |
Re: Category Appear To All User
Hi totaltec,
Yeah I restrict a category to a certain membership, But I want Shown That Category to all User and Guest. Because My Requirement is, That Category Shown to all User and Guest. if Normal User Or Guest Trying To buy Product Under that Category then I will Show Alert Popup And not Allowed to Add to Cart .. Can you Suggest me What I do to ??? Looking forward to your reply. Thanks, Kutty |
Re: Category Appear To All User
Hi Team,
I just Develop Module Customization that shown All Categories to All User Even-through it has Specific Membership Level.. But I need one more Module in that When User Add product To Cart Then i need To Check Whether User is certain membership and Product Category also have certain membership , In that i find Membership level of user But I can't Find Product Category Membership Value in my New Customize Module Kindly Suggest on this... Looking forward to your reply. Thanks Kutty |
Re: Category Appear To All User
You should look into decorating the \XLite\Controller\Customer\Cart::doActionAdd() method and adding your check there.
|
Re: Category Appear To All User
Hi Team,
Kindly Suggest me , How To Get Value of Current Product Category Membership Value For That What i want Call, Because i Want To Check that Only... Looking forward to your reply. Thanks, |
Re: Category Appear To All User
You can get the membership level of the user who is signed in with this:
PHP Code:
As for the the membership level of the category being viewed - it is better to ask the developer who made the custom module. |
All times are GMT -8. The time now is 07:40 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.