# Create a Paid Membership Plan With a Member Discount

> Sets up a new membership plan that customers get by buying a product, with a store-wide member discount.

- Job: [Pricing & wholesale](https://storeagent.ai/mcp-recipes/job/pricing/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~30 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + WooCommerce Memberships
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/member-discount-plan/

## The prompt

```text
Create a new membership plan called [plan name]. Customers get it when they buy the product [product name]. Find that product and show me its ID and price. The membership lasts [length, for example 12 months]. Give members [discount]% off all products. First show me my existing plans so I do not make a duplicate. Then show me the full plan settings and wait for my OK. Create it as a draft so I can check it in WooCommerce first.
```

## What happens when you paste it

You: Create a new membership plan called [plan name]…

Assistant: Found the product "VIP Club Annual Pass", ID 812, at $99. You have 2 plans, Silver Plan and Gold Plan, and neither uses this product. Calling: `woocommerce/products-query`, `woocommerce-memberships/plans-list`, `woocommerce-memberships/plans-create`.

Assistant: This will make changes in WooCommerce. Do you want me to go ahead?

Assistant: Created the draft plan "VIP Club", ID 905. Access comes with purchase of product 812, membership lasts 12 months, and members get 10% off all products.

## Abilities this recipe calls

- **Find products** (`woocommerce/products-query`, read only, from WooCommerce): Finds products by name, SKU, status, type or stock status, with prices and stock.
- **List membership plans** (`woocommerce-memberships/plans-list`, read only, from WooCommerce Memberships): Lists your membership plans with access, length and rules.
- **Create membership plan** (`woocommerce-memberships/plans-create`, asks first, from WooCommerce Memberships): Creates a membership plan with access, length, restriction and discount rules.

## Variations

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

- Make it free on signup instead of a purchase.
- Also make the product [product name] available to members only.

## Related recipes

- [Spot Wholesale Prices Below Your Margin](https://storeagent.ai/mcp-recipes/wholesale-margins.md): Checks every wholesale price against retail so nothing sells at a loss after the last price change.
- [Put a Group of Products on Sale](https://storeagent.ai/mcp-recipes/bulk-sale-prices.md): Sets a sale price on every product you name, or that matches a search, and shows the old and new prices before anything changes.
- [Check What a Wholesale Customer Actually Pays](https://storeagent.ai/mcp-recipes/check-customer-wholesale-price.md): Answers "what price does this account see" by comparing the saved wholesale price with the final price after category and role rules.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
