User Role Hierarchy for Product Visibility


How to establish Product Visibility Hierarchy in Woocommerce?

I have created Custom User Roles, extending Author Role as Importer/Manufacturer, Distribuitor and Retailer. I have enabled Authors for products and restricted each of these users to create and manage their product portfolio. I have also ensured that they have access to only their products.

Now the tricky part.

I want the Distributor Role to be able to see and Purchase Products only from Products posted by Importer/Manufacturer.
The retailer should be able to purchase products only from a Distribuitor. And Customers/Subscribers purchase only from Retailers.

I have already evaluated various restriction plugins, which either restrict based on category, tag or User Role. However, I do not wish to create newer categories, newer tags for this purpose. and It should be a User Role to User Role Restriction. Like Products Added by this user Role can only be seen by this one.

Any guidance would be appreciated.

Koushik V 2 years 2020-12-29T14:10:45-05:00 0 Answers 4 views 0

Leave an answer