Shopify DiscountsLast reviewed

How to Make a Shopify Discount Code for First Orders Only

Who this is for

Growth and retention teams running welcome offers that should only go to new customers.

Shopify has no single 'first order only' checkbox, but you can get close by combining two settings: limit Customer eligibility to a segment of customers with no previous orders, and turn on 'Limit to one use per customer'. Then accept that a determined customer can still use a new email address — for most welcome offers that leakage is small and cheaper than the friction of stricter controls. If you need tighter control, issue unique single-use codes from your email signup flow instead of one public code.

When to use this

  • You run a '10% off your first order' popup or welcome email.
  • Existing customers are using the welcome code.
  • Your welcome code appeared on coupon sites.
  • You're deciding between a public code and unique per-subscriber codes.

Step-by-step workflow

  1. 1

    Create a 'no orders yet' customer segment

    In Customers → Segments, build or use a segment for customers who haven't placed an order (number of orders is 0).

  2. 2

    Limit the discount to that segment

    Under Customer eligibility, choose specific customer segments and select it.

  3. 3

    Turn on one use per customer

    This blocks a second redemption by the same customer even after they leave the segment.

  4. 4

    Prefer unique codes from signup

    If your email platform can generate unique Shopify codes per subscriber, use them with a total limit of 1 so public sharing doesn't work.

  5. 5

    Test as new, existing, and guest customers

    Check out with a brand-new email, an email that has previous orders, and as a guest, and confirm the result each time.

Frequently asked questions

Can Shopify restrict a discount to first-time customers?

Yes, by limiting customer eligibility to a segment of customers with zero orders and enabling one use per customer.

Can customers bypass a first-order discount?

Sometimes, by using a new email address. Unique single-use codes issued at signup reduce this.

Should a welcome discount stack with sale prices?

Decide deliberately. Many stores block welcome codes on already-discounted items to protect margin; use product scope and combination settings to enforce it.

Related resources and tools

Browse all Shopify answers →