Executes Easy All plans Not yet verified on a live store

Create a Discount Code

/discount-code  Creates a percentage or fixed discount code with dates, limits and eligibility in one go, after checking for clashes.

Add to Sidekick

Add opens your Shopify admin with the skill prefilled; review it there and click Add. If nothing appears, use Copy and follow the steps below.

Personalize before you add

Values come from your store profile when set. Leave a field blank to keep the placeholder and fill it in Sidekick.

The skill

Suggested shortcut: /discount-code
Create a discount code [CODE] for [VALUE] off, ending [END DATE]. Work through the request without asking for clarifications unless something essential is missing.

## Steps
1. Check active and scheduled discounts. If a code with the same name exists or an active discount already applies to the same products, say so and stop.
2. Set the discount: type (percentage or fixed amount), value, applies to (entire order unless I named products or a collection), start now, end on the given date at 23:59 in the shop's timezone.
3. Defaults unless I say otherwise: one use per customer, no total usage limit, no minimum purchase, cannot combine with other discounts, all customers eligible.
4. Create it, then show me a summary: code, value, applies to, dates, limits, combinations, and the URL that applies it automatically.

## Output
A one-line confirmation and the summary table.

Never create a discount above 50% or with no end date without asking first. Do not delete or edit existing discounts in this skill.
How to add it to Sidekick
  1. Click Add to Sidekick above. Your Shopify admin opens with the skill ready to review. Click Add. Done.
  2. If the button does nothing in your store: click Copy skill, open Sidekick in your admin, type /, choose Create new skill, name the shortcut discount-code, paste the text as the instructions, and save.
  3. To run it, type /discount-code in Sidekick. Sidekick keeps up to 25 skills; manage yours from the skills menu.

What you get

A live discount code in under a minute, with sane defaults and a clash check that stops you from stacking a new code on top of a running sale by accident.

When to use it

Influencer codes, service recovery, newsletter offers, quick weekend sales.

Variations

  • “Minimum purchase 50” or “only for the VIP segment” for targeted codes.
  • “Buy 2 get 1 free on [collection]” for a buy-X-get-Y discount.
  • “Automatic discount, no code” for a sitewide sale.

Limits

Complex stacking rules and tiered discounts may need Shopify Functions or a discount app. Sidekick will say when a request needs one.

Status: Written for Sidekick but not yet run on a live store. Results may need a second prompt. Time saved: about 5 min / code.

Author: MerchantSkill · License: CC0, no attribution needed · Updated: 19 Sept 2026 · Raw markdown

Report a problem or suggest an edit

Related skills

/free-shipping Executes Easy

Free Shipping Threshold Offer

Recommends a free-shipping threshold from your real AOV, then creates the automatic discount after you confirm.

Promotions Not yet verified
/flash-sale Executes Advanced

Flash Sale in One Task

Builds a flash sale end to end: sale collection, automatic discount with start and end, and an email draft, with one approval.

Promotions Not yet verified
/bfcm-plan Analyzes Medium

BFCM Offer Planner

Uses last year's November data and current stock to propose a Black Friday to Cyber Monday offer calendar you can run with Sidekick.

Promotions Not yet verified
Add to Sidekick