Sidebar product categories by user roles

Question

Im setting a website for a client and he wants to show certain product categories based on user roles on his sidebar.
I already have all products hidden by role, but I cant hide them on sidebar or search.
For example, Role A can only see categoria A and B and Role B can only see C and D on sidebar.
Also, Role A can only search for products from categories A and B and Role B for products from categorie C and D

Can u guys help me or advice me a plugin?

0
Kevin Rocha 2 months 0 Answers 6 views 0

Leave an answer