Jump to content

How to keep a password for certain product categories ?


Recommended Posts

I am using the latest version of prestashop. How do I keep a password for certain pages , Product groups etc ? I do not want the restriction to be based only on the basis of registered users and unregistered users . guest, etc. I want the customers to have a login id and/ or a password to access certain pages. 

I am not a coder. Please help by giving exact information of which file to change and on which lines codes have to be edited. 

Help will be appreciated, Thank You.

Edited by info99 (see edit history)
Link to comment
Share on other sites

The only way is:

 

Example on users 1 to 100

 

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.

 

The only problem aof all this, is that the products you show on your index (home) are accessible for ALL. There is no Group filter, as the products do not have relation to customer groups, but to categories.... So each product-list you show on your side is visible for ALL users.

Edited by selectshop.at (see edit history)
Link to comment
Share on other sites

Are you trying to say that even restricted products will be visible on the home page ( visible to all ) ? As far as what I have understood. Only the restricted users will be able to see the restricted group and the restricted products . Right ? And at the same time the other customers whoa re not given the restricted group access will not be able to see the restricted group and will also not be able to view the restricted products . Am I on the same lines as You ?

Edited by info99 (see edit history)
Link to comment
Share on other sites

No, I'm not trying to say, this is true. Prestashop does not filter by groups, but by products. So if you are showing any list or you are using search, ALL products ARE findable or visible on lists (category list, homefeatured, new product, best sellers, etc, block layered).

 

If you intend to have VIP shop, so you should use the module VIP and only add that products to this shop which are for these persons. Prestashop cannot realize what you are trying to realize. Not out of the box and also not with ONLY some adaptations. Here you have to change completely the logic of the software.

Edited by selectshop.at (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...