Jump to content

Is access restriction per product possible?


Recommended Posts

Hello Prestshop-Community,

 

I'm new in this forum and will try my best to comply to the forum rules; I ask for your understanding if I make mistakes, maybe you can advise me then.

 

I set up a Prestashop installation 1.5.3.1 in catalogue mode, I bought a specific template as well as a couple of functional modules in order to enhance my site, which will display my private beer collection. I do have some materials, which shall be visible to registered users only for different reasons.

 

I understood, that the following options to restrict access to functions/content are available within Prestashop:

1. limit access to product categories by user groups

2. limit access to modules by user groups

This is all very well, but what I'm searching for, is to "limit access to products by user groups"

 

I will have lots of categories and in almost each category I will have content, which shall be visible to the public as well as content which shall be restricted to specific user groups. As the restricted items are of different nature, it does not make sense to put them all together in one restricted category. On the other hand I do not want to setup all categories twice (one time public, one time restricted)

 

Do you see any possibility to realize restrictions per product?

 

Thanks in advance,

 

 

Stefan

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

Hello tomerg3,

 

I followed your advise and created a new catagery "secret" and restricted the access to the group "Customers". I put one product to a category being available for everyone and into "secret". The result: the product was shown when searching, no matter if I was logged on or not.

 

I believe, that the following construct would work:

- building the category tree twice: a "public" tree and a "secret" tree

- all products will be associated to both trees except those being secret, which will be associated to the secret tree only

- logged in users will see the secret tree, but not the public one in order to avoid double display of products (public tree restricted)

- users not being logged in will see the public tree, but not the secret one.

 

For the user it should be totally transparent, if the displayed category names are identical for both trees. For me it would be double work to associate all products twice.

 

Maybe someone has a better suggestion?

 

Stefan

Link to comment
Share on other sites

  • 1 month later...

Unfortunately I did not find any solution except the solution I already described. As it concerns the openCart module: you're right, this is exactly, what I'm searching for. But as I definitely want to stay with Prestashop, I'll be patient and look from time to time for new built-in functionalities and modules .

  • Like 2
Link to comment
Share on other sites

  • 10 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...