Launch your Shopify store in as little as 2 weeks, with fixed prices from £695. See packages

How to create discount codes and automatic discounts on Shopify

Shopify lets you create discount codes that customers enter at checkout, and automatic discounts that apply without a code. You can offer percentage or fixed-amount discounts, buy X get Y, and free shipping, with limits on use, dates and minimum spend, and choose which discounts can combine.

By Abdullah Ashraf, Shopify expert · Last updated: October 2026

Quick summary

  • Codes for campaigns, automatic discounts for store-wide offers.
  • Set limits and end dates.
  • Control which discounts combine.

Create a discount

  1. Go to Discounts, then Create discount.
  2. Choose the type: amount off products, amount off order, buy X get Y or free shipping.
  3. Choose a code or automatic.
  4. Set the value, eligibility, minimum requirements and usage limits.
  5. Set start and end dates, and combinations.

Combining discounts

Decide whether a discount can combine with others, such as free shipping plus a product discount.

Protect your margins

Check discounts against your margin with the profit margin calculator, and prefer offers like free shipping thresholds or gifts over deep percentage cuts.

UK pricing rules

Sale claims must be genuine. See the rules on was/now prices.

Frequently asked questions

Do discounts hurt my brand?

See when they do.

Can I give free gifts instead?

Yes, with buy X get Y. See if it works.

Let's grow your store

Tell me what you sell and where you're stuck. You'll get honest advice and a fixed quote, even if we don't end up working together.

Chat on WhatsApp