New: connect Claude, ChatGPT or Cursor to your WooCommerce store. See how →

StoreAgent
Catalog & products recipe

Show Some Products Only to Certain Wholesale Roles

Limits which wholesale roles can see a set of products, like trade-only bulk packs for distributors.

WHAT IT DOES asks first Changes your store, only after you say yes
TIME SAVED ~20 min vs doing it by hand
REQUIRES BOTH
StoreAgentFree plugin · MCP on every plan
+
Wholesale Suite Installed and active
Connect your store
THE PROMPT
Find my products matching "[bulk pack]". Show me each one with its SKU, status and price. I want them visible only to the [distributor] wholesale role. Show me the list and wait for my OK, because this replaces the current role visibility on each product. Then set it. Remind me that this does not change if retail customers can see the products, that is a separate setting.
PASTE INTO ClaudeChatGPTCursor+ any MCP client
WHAT HAPPENS NEXT

What Happens When You Paste It

Your assistant picks the right abilities, pulls live data from your store and does the work. Here’s roughly how the conversation goes.

1
It reads first. Read abilities run straight away, so it’s working from your real catalog, not guessing.
2
It checks with you. Anything that writes to your store stops and asks before it goes ahead.
3
It’s all logged. Every ability call shows up in wp-admin, so you can see exactly what changed.
Claude · connected to your store
yourstore.com · via StoreAgent MCP
Live
Find my products matching "[bulk pack]"…
8 products match "bulk pack", all published. Distributor role found with 6 members. Calling:
wholesale-suite/list-wholesale-rolesdone
woocommerce/products-querydone
wholesale-suite/set-product-visibility-ruledone
CONFIRM BEFORE WRITING
This will make changes in WooCommerce. Do you want me to go ahead?
Yes, applyShow me first
All 8 bulk packs are now visible to the Distributor role only. Other wholesale roles no longer see them. Retail visibility is unchanged.
UNDER THE HOOD

Abilities This Recipe Calls

Make sure these are switched on in your StoreAgent MCP settings. You can turn any of them off at any time.

Lists every wholesale role with its member count and tax exempt status.
wholesale-suite/list-wholesale-roles
read only
Finds products by name, SKU, status, type or stock status, with prices and stock.
woocommerce/products-query
Sets which wholesale roles can see a product.
wholesale-suite/set-product-visibility-rule
MAKE IT YOURS

Tweak It for Your Store

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

+ Make these products visible to every wholesale role again.
+ Use the SKUs [SKU1, SKU2] instead of a search.
StoreAgent

PO BOX 4362
Gumdale QLD 4154
Australia

Our Brands

© 2026 Rymera Web Co Pty Ltd. All Rights Reserved. ABN 51 604 474 213. Privacy Policy · Terms of Service · Data Processing Addendum · Affiliate Disclosure