cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Restrict products based on the b2bunit assigned to the user

Former Member
0 Likes
329

How to Restrict products based on the b2bunit assigned to the user.

Accepted Solutions (0)

Answers (1)

Answers (1)

StefanKruk
Active Participant
0 Likes

For this you could use SearchRestrictions. You just need to make sure that your user or the b2bUnit of your user is in the session and then you can create a SearchRestrictions for Products where you check if the userVariable is matching the one on the Product.