← Blog/Discounts

How to Create a 20% Off Discount for One Specific Product in Shopify

Sometimes you want to discount one product, not the whole store. Here's how to create a code that only works on a single item — in one message.

June 19, 2026·3 min read

Store-wide discounts are easy. The trickier — and often smarter — promotion is a code that applies to just one product: moving a slow seller, promoting a new arrival, or giving an influencer a code tied to a specific item. Set it up wrong and customers use it on everything, eating margin you never meant to give away.

Where it gets fiddly in Shopify

Shopify supports product-specific discounts, but the setup buries the important parts: you create a discount, switch it from "all products" to specific items, search and select the right product, then layer on usage limits and dates. Miss the product restriction and you've accidentally made a store-wide code.

Describe exactly what it should apply to

With Claude MCP Connector, you state the product, the discount, and the rules in one line:

Claude
Create a 20% off code DENIM20 that only works on the Denim Jacket, limited to one use per customer.
C
Done — your product discount is live:
CodeDENIM20
Applies toDenim Jacket only
Discount20% off
Limit1 use per customer
Denim Jacket
Denim Jacket — 20% off with code
DENIM20
Note: The code is rejected automatically at checkout for any other product.
Copy shareable link →

Claude scopes the code to that product only, adds your per-customer limit, and confirms — so the discount can't leak onto the rest of your catalog.

Ways to fine-tune a product discount

Limit a code to one product or one variant
Restrict it to a single collection
Make it one-use-per-customer or new buyers only
Add a start and end date so it self-expires

Why precise discounts matter

A targeted discount protects your margins while still creating urgency where you want it. Because it's just a sentence to set up, you can run small, specific promotions — one product, one variant, one customer group — as often as you like, instead of defaulting to blunt store-wide sales.

Try it free

Do this in 30 seconds with Claude.

Launching soon on the Shopify App Store. Join the early list to be first in.

Get early access →

Related articles

← Previous

How to Tag VIP Customers Based on Total Spend in Shopify

Next →

How to Set Up a Buy 2 Get 1 Free Promotion in Shopify Without an App