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

StoreAgent
Pricing & wholesale recipe

Reward Bigger Wholesale Orders With a Subtotal Discount

Looks at your recent wholesale order sizes, suggests a sensible threshold, then adds a discount when the cart passes it.

WHAT IT DOES asks first Changes your store, only after you say yes
TIME SAVED ~30 min vs doing it by hand
REQUIRES BOTH
StoreAgentFree plugin · MCP on every plan
+
Wholesale Suite Installed and active
Connect your store
THE PROMPT
List my wholesale customers. Then look at their completed and processing orders from the last 90 days and tell me the average and typical order total. Suggest a cart subtotal threshold a bit above the average, and a discount to go with it. Show me your suggestion and the checkout label you will use, and wait for my OK. Then add the cart subtotal discount for the [wholesale_customer] role.
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
List my wholesale customers…
212 wholesale customers placed 486 orders in 90 days. Average order $640, middle order $510. 22% of orders were over $1,000. Calling:
wholesale-suite/list-wholesale-customersdone
woocommerce/orders-querydone
wholesale-suite/set-cart-subtotal-discountdone
CONFIRM BEFORE WRITING
This will make changes in WooCommerce. Do you want me to go ahead?
Yes, applyShow me first
Added a 5% discount for Wholesale Customer when the cart subtotal passes $1,000, shown at checkout as "Bulk order discount".
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 wholesale customers with their role, last order date and lifetime spend.
wholesale-suite/list-wholesale-customers
read only
Finds orders by status, customer, email or date, with the items in each order.
woocommerce/orders-query
Adds, changes or removes a discount when a wholesale cart passes a subtotal.
wholesale-suite/set-cart-subtotal-discount
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.

+ Use a fixed [$50] off instead of a percentage.
+ Only look at customers in the [Gold] role.
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