Catalog Access Rules for WooCommerce by B2B Managers
Hide products and hide categories by user role in WooCommerce. Catalog Access Rules for WooCommerce , by B2B Managers, gives you product visibility rules, so guests, retail customers and wholesale customers each see only the catalog meant for them. WooCommerce gives you one catalog and shows it to e
Hide products and hide categories by user role in WooCommerce. Catalog Access Rules for WooCommerce , by B2B Managers, gives you product visibility rules, so guests, retail customers and wholesale customers each see only the catalog meant for them.
WooCommerce gives you one catalog and shows it to everybody. Its built-in catalog visibility setting can only hide a product from the shop or from search for all visitors at once; it cannot hide products by user role. That is fine for a shop with one kind of customer, and wrong the moment you have two. Trade-only lines end up visible to the public, retail multipacks clutter the wholesale browse, and the distributor range you are not allowed to advertise sits in plain view. The usual workarounds, such as unpublishing products, running a second site or hiding things behind a password, cost you either sales or a second store to maintain.
This plugin controls product visibility at the level where WooCommerce decides what to show. You write rules that say hide these products, or hide these categories, from this user role , and everything downstream obeys. Hidden products vanish from the shop page, category archives and product search. Their direct URLs redirect to the shop. Add-to-cart is refused even if somebody builds an ?add-to-cart= link by hand. Hidden categories disappear from category widgets, menus and the [product_categories] shortcode, so nothing points at a door that will not open.
Rules stack rather than compete. Each rule adds its hidden products for the user role it targets, so a wholesale customer and a guest can have completely different views of the same store without you working out which rule wins. There is also an “Everyone” target for pulling an item from the whole storefront for a while, which is useful when a line is out of stock indefinitely and you do not want to change its status and lose its URL.
Hide products and hide categories
- Hide specific products , chosen with a product search
- Hide whole categories , including every product inside them
- Hide subcategories too : a rule on a parent category also covers its child categories
Product visibility by user role
- Hide products from guests (visitors who are not logged in)
- Hide products from any one user role : Customer, Subscriber, Wholesale Customer or a custom trade role