ddt81 Posted February 13, 2015 Share Posted February 13, 2015 (edited) In my shop there are two groups of customers (zone A and zone B ) Zone A: They can access all categories Zone B: They can access only to certain categories For ZONE B I disabled categories but when customers use BlockSearch .... they find all the products ... How did you solve this problem? Any idea? Dany Prestashop with DEfault Theme 1.6.0.11 (http://rinaldiweb.com/store/) Edited February 13, 2015 by ddt81 (see edit history) Link to comment Share on other sites More sharing options...
ddt81 Posted February 16, 2015 Author Share Posted February 16, 2015 :-( Link to comment Share on other sites More sharing options...
ddt81 Posted February 18, 2015 Author Share Posted February 18, 2015 is it too difficult? Link to comment Share on other sites More sharing options...
fred-vinapresta Posted February 19, 2015 Share Posted February 19, 2015 Hi think, you have to override the find function of Search class for that, Find current logged customer allowed groups in this function and then add a condition on the category when the table category is joined in the request. Not that easy. Link to comment Share on other sites More sharing options...
ddt81 Posted February 19, 2015 Author Share Posted February 19, 2015 Thanks for the reply. i know! but I'm not capable of doing I was hoping that someone had already solved the problem. 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