Creating discount codes

You can offer your customers a monetary, percentage, or shipping discounts on a product, collection, or variant in your store.

Create a discount

  1. From your Shopify admin, click Discounts (or press G D):

    Discounts

  2. From the Discounts page, click Add discount code:

    Add discount code

  3. In the Discount code text box, enter a name for the new discount code (for example, 15offnecklaces):

    Discount title
    You can also click Generate code for a randomly-generated code.

  4. In the Conditions section, use the drop-down menu to choose either the monetary or percentage discount:

    Discount option

  5. Enter a monetary or percentage value for the discount in the take text box.

  6. In the off for drop-down menu, choose where this discount will apply:

    all orders The discount applies to all orders.
    orders over The discount applies to orders over a set nominal value.
    collection The discount applies to a chosen collection.
    product The discount applies to a chosen product.
    product variant The discount applies to a chosen product variant.
    customer in group The discount applies to a chosen group of customers from your customer lists.

  7. If you selected Product or Collection from the off for drop-down menu, an Apply discount drop-down menu appears. To limit discounts to one per order, select only once per order. To allow the customer to apply the discount to each applicable item in an order, select to every applicable item in the cart.

    Caution

    Selecting to every applicable item in the cart allows multiple discounts in an order.

  8. Enter an appropriate value in the text box, or select an appropriate option from the drop-down menu to define your discount.

  9. Under Usage limits, select Unlimited, or enter the number of times this discount can be used by customers before the discount expires For example, setting a limit of 200 allows the discount code to be used 200 times across your customer base.

  10. In the Limit per customer section, check 1 use only to limit the discount to one per customer:

    Discount usage limits

  11. Use the date picker in the Date range section to set the first day on which the discount will be valid and the first day on which the discount will no longer be valid. You can also check the No expiry box instead of an expiry date:

    Date range discount

  12. Click Save.

Your new discount will now appear in list format in the Discounts tab in your Shopify admin. To distribute this discount, send the code to your customers by email, or display it on your storefront. They will enter the code during checkout to receive the discount.

Did you know?

If your discount is set to discount an entire order, the discount will be applied in sequence to all items in the cart. For example, if you have a $50 discount, the first item will be discounted by $50. If the first item is less than $50 in value, the discount will apply to the next applicable item in the cart.

Create a free shipping discount

If you want to offer free shipping, you can do either of the following:

  • Set up a free shipping rate under the Shipping page in your Shopify admin. This will be applied to all orders that meet the free shipping criteria you've set.

  • Create a free shipping discount to send to selected customers:

  1. From your Shopify admin, click Discounts (or press G D):

    Discounts

  2. From the Discounts page, click Add discount code:

    Add discount code

  3. In the Discount code text box, enter a name for the new discount code (for example, freeshipping4smallorders):

    Discount title shipping
    You can also click Generate code for a randomly-generated code.

  4. In the Conditions section, use the drop-down menu to choose the Free Shipping option.

  5. Next to for any shipping rate that is less than or equal to, enter the maximum shipping price that you want your free shipping discount to cover.

  6. In the All Countries drop-down menu, leave All Countries selected or choose the destination country to which the discount will apply:

    Shipping discount country

    Note

    You can choose only one country option. If you want to offer free shipping to some, but not all your destination countries, you must create a separate discount for each country.

  7. Under Usage limits, select Unlimited, or enter the number of times this discount can be used by the customer.

  8. In the Limit per customer section, check 1 use only to limit the discount to one per customer:

    Discount usage limits

  9. Use the date picker in the Date range section to set the first and last days on which the discount will be valid. You can also check the No expiry box instead of an expiry date:

    Date range discount

  10. Click Save.

Your new discount will now appear in list format in the Discounts tab in your Shopify admin. To distribute this discount, send the code to your customers by email, or display it on your storefront.

Note

Free shipping discounts will never automatically apply to an order. Your customers must enter the code during checkout to receive the discount. To automatically offer your customers free shipping based on their order price, you must set a free shipping rate.

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free