VirtualWebDev Posted November 9, 2020 Share Posted November 9, 2020 Hello, I asked this question in the Core Developer section, but that was probably not the right place. I am looking for the best way to represent a catalog of products where the ability to view, search, and buy SKUs are restricted based on their user type. There will be two users types to consider: B2C and B2B. I was hoping User Groups and Categories could solve this. I have tested user groups and categories, and I can restrict product search, view, and purchase if I restrict a category (say like "B2B") to a user group. However, if that product has other categories , like "accessories", then another user can still see those products even if they were NOT associated with the "B2B" category. So it looks like restriction for categories is not an "AND", but an "OR", meaning, a user group doesn't have to be associated with all the categories of a product to search or view for them, only one of them? If categories and user groups is not the best way to do this, I am open to suggestions. However it seems easier to do this out of box with them with no changes to the classes and code. Any help appreciated! Trying to keep coding to a minimum to reduce ongoing maintenance, and use as much as possible out of box by Prestashop. Thank you! Link to comment Share on other sites More sharing options...
joseantgv Posted November 9, 2020 Share Posted November 9, 2020 Are you looking for a module? https://addons.prestashop.com/en/stock-supplier-management/32668-hide-or-show-products-by-stock-by-price-by-geoip.html Link to comment Share on other sites More sharing options...
VirtualWebDev Posted November 9, 2020 Author Share Posted November 9, 2020 HI Joseantgv, Possibly, maybe we do need a module like that. However, I also want to understand if what I describe above was the right direction to go so I can better understand how Prestashop works. I took a look at your module, I couldn't see if the module supported the approach we were taking or if you recommended a different path we should be taking to separate products? 1 Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2020 Share Posted November 11, 2020 Hi, exactly such a module I made for my customer. I also had it for sale, but there was no interest in the module, so I removed it. In the administration in the product detail, a drop-down list was displayed with a group of customers to whom the product should be banned. It was possible to select more groups. In the module configuration it was also possible to import a csv file with the product code and group (s). I'll try to find my module and possibly give you a link. Link to comment Share on other sites More sharing options...
VirtualWebDev Posted November 16, 2020 Author Share Posted November 16, 2020 That would be great, I very much appreciate that! Link to comment Share on other sites More sharing options...
Guest Posted November 16, 2020 Share Posted November 16, 2020 (edited) For PrestaShop 1.7.x I already have the module ready, I'm just doing the last testing. During today I will spend it for a price of up to 20 €. Given the time of development, this is an affordable price 😉 Edited November 16, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
MikeCodes Posted November 20, 2020 Share Posted November 20, 2020 On 11/9/2020 at 8:37 AM, joseantgv said: Are you looking for a module? https://addons.prestashop.com/en/stock-supplier-management/32668-hide-or-show-products-by-stock-by-price-by-geoip.html Is there no other way to solve this problem then spending 50 euro for this simple thing? In woocommerce you can solve this problem in a couple of minutes with just line. 1 Link to comment Share on other sites More sharing options...
Guest Posted November 21, 2020 Share Posted November 21, 2020 (edited) Edited November 21, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
Amorino Posted July 10, 2021 Share Posted July 10, 2021 @Guest Hello that's exactly what I need Where can I download the module please? Thanks Link to comment Share on other sites More sharing options...
ComGrafPL Posted July 10, 2021 Share Posted July 10, 2021 3 hours ago, Amorino said: @Guest Hello that's exactly what I need Where can I download the module please? Thanks http://store.nemops.com/free-modules/44-product-access.html#.YOoGuUwwiiO Link to comment Share on other sites More sharing options...
Amorino Posted July 11, 2021 Share Posted July 11, 2021 (edited) Hello ComGrafPL Thank you very much this seems to be different from Daniel's module and not for 1.7 I can't find the download link in your module here : https://e-apps.eu/en/domu/70-add-product-display-restrictions-for-a-group-of-users.html?SubmitCurrency=1&id_currency=2 Edited July 11, 2021 by Amorino (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted July 11, 2021 Share Posted July 11, 2021 (edited) 10 hours ago, Amorino said: Hello ComGrafPL Thank you very much this seems to be different from Daniel's module and not for 1.7 I can't find the download link in your module here : https://e-apps.eu/en/domu/70-add-product-display-restrictions-for-a-group-of-users.html?SubmitCurrency=1&id_currency=2 Seems like devs changing their website "Sales in the shop is closed. Support for existing customers is provided until December 1, 2021 The new list of modules and modules my shop, visit https://prestashop.4you.software" I think the best way is to ask them, to send it to you as it's free. Send them a email: REMOVED either send private to @Guest Edited July 11, 2021 by endriu107 removed email address for user request (see edit history) 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