Skip to content

Every tutorial here is 100% free — and always will be.

How to Create Discount Codes in Shopify

Create percentage, fixed amount, free shipping and buy X get Y discounts, and control exactly who can use them.

6 min readBeginnerChecked 14 August 2026
Beginner friendly

Discounts drive first orders, win back abandoned carts and lift average order value. Shopify supports discount codes and automatic discounts, and both are configured the same way.

1

Open Discounts

In your Shopify admin select Discounts, then Create discount.

2

Choose the discount type

Amount off products, amount off order, buy X get Y or free shipping. Pick code if customers will type it, or automatic if it should apply on its own.

3

Set the code and value

Use a code customers can type without errors, then set a percentage or fixed amount and choose whether it applies to all products, specific collections or specific products.

4

Add minimum requirements

Set a minimum purchase amount or quantity so discounts do not erase your margin on small orders.

5

Limit eligibility and usage

Restrict to specific customer segments, cap total uses and limit to one use per customer to prevent code sharing.

6

Set active dates

Give the discount a start date and, for promotions, an end date. Expired codes create fewer support emails than forgotten ones.

7

Test it

Add a qualifying product to the cart and apply the code at checkout, then test an order that should not qualify.

Stackable combinations

Under Combinations, decide whether the discount can combine with product, order or shipping discounts before you promote it.

Still stuck? Skip the tutorials.

You've given it a go. If you'd rather have someone sort it out for you, tell us what you need and we'll take it from there.

Get Help With My Shopify Store

Expert help provided by PromptSites.com.

Read more elsewhere

Shopify BlogOfficial

Shopify Blog: Ecommerce marketing guides

Shopify's marketing library covering email, paid social, content and retention. Quality varies by article, so treat it as a starting point.

Article
Intermediate25 July 2026

Link to an external site. We don't republish other people's content.

Website made, maintained and hosted by PromptSites.com

PromptSites logo