chrislkirby Posted February 12, 2011 Share Posted February 12, 2011 I am needing to develop a cart that has certain subcategories password protected.For example: High School Sports - North High School (products can only be viewed with a shared password) - South High School (products can only be viewed with a shared password) - Central High School (products can only be viewed with a shared password) Note that I do not want to have a create a username and password for each person to browse, but I need to only let them see the products in the category that they have the password to.Each school can share the same password.Is this possible with PrestaShop?Thanks in advance! Link to comment Share on other sites More sharing options...
Ben Rich Posted October 19, 2011 Share Posted October 19, 2011 I'm also looking for a solution to this. Anyone know of one? ta Link to comment Share on other sites More sharing options...
phrasespot Posted October 19, 2011 Share Posted October 19, 2011 This thread is older than me, maybe it was not possible then. It can be done with 1.4.x easily now Create a group: group X Create a user: user Y, add user Y to the group X Create a category: category Z, give access to group X to the category Z when you are creating it Distribute the user name and password for user Y to the category Z users Repeat for other sets of users This is a one-one-one setup but you get the idea, it can be extended to any multiplicity. Link to comment Share on other sites More sharing options...
Ben Rich Posted October 20, 2011 Share Posted October 20, 2011 Hi phrasespot I'm trying to interpret your post. Do you mind going into a little more detail for point 4 and onwards? (Distribute the user name....) To clarify, I need to password protect specific categories with a password independent from any users's usual login credentials. So a user (logged in or not) needs a password to access a password protect category. Thanks, Link to comment Share on other sites More sharing options...
phrasespot Posted October 20, 2011 Share Posted October 20, 2011 I don't mind going into detail but I was providing a solution to the question as asked in the original post. which you replied I'm also looking for a solution to this The specification you state now is something entirely different. You are asking for a second level of authentication based on categories which is not possible out of the box. It may be still possible though, depending on what exactly you are trying to do (I am still not clear), Say you have users numbered 1 through 100., all with normal prestashop accounts created, and in DEFAULT group, that is they can login and see everything in the shop. Create a new group RESTRICTED ACCESS GROUP Create a new category, RESTRICTED CATEGORY, limiting access to RESTRICTED ACCESS GROUP Now users 1...100 are not able to see RESTRICTED CATEGORY Create a user ELEVATED USER and add the user to RESTRICTED ACCESS GROUP Distribute the credentials for ELEVATED USER to users 20...30 Users 1...19 and 31...100 are still not able to see RESTRICTED CATEGORY Users 20...30 can login with ELEVATED USER credentials to see the RESTRICTED CATEGORY Anything more sophisticated than that requires a module/modifications. Maybe in a future version Prestashop will provide FO access control capabilities similar to current BO one. Link to comment Share on other sites More sharing options...
Ben Rich Posted October 25, 2011 Share Posted October 25, 2011 I'm pretty sure my needs require modifications or a module. I'm confident a module doesn't yet exist. I'll continue to keep on researching.. hmmmm. thanks phrase Link to comment Share on other sites More sharing options...
mactsolutions Posted August 10, 2012 Share Posted August 10, 2012 Hi, If anyone is still interested on a solution for this one. I have a module that can do this. Just send me PM on this website or email me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now