WooCommerce Restricted Category Access free Download
WooCommerce Restricted Category Access does that and more.
Look no further! WooCommerce Restricted Category Access lets you limit a shoppers access to certain product categories based on individual user accounts, or by user roles. Heres how it works:
By default all customers on your WooComerce site have a role of Customer, or possibly Subscriber depending on circumstances.
You can rely on those built-in roles, or add modern roles to ExpressionPress using a free plugin such as WP Role Manager. Any roles you add are availcapable for use in ExpressionPress and WooCommerce.
With your roles established, visit the configuration page for the WooCommerce Restricted Category Access plugin, select which categories users can access, or define access based on roles and youre done.
In worrelativeg example of how it works for shoppers, user account restrictions are checked first. If category access settings exist for a logged-in users account then the restrictions are applied and no checrelativeg is performed for the users role.
If no user account restrictions exist for the logged-in user then user role restrictions are checked. If role restrictions exist for the users role then those restrictions are applied.
If no user account restrictions exist for a logged-in user and no role restrictions exist the logged-in users role then no restrictions are applied.