Creating discount codes

You can offer your customers a monetary, percentage, or shipping discount on products, collections, or variants in your store.

Note

If you want to target your discount to specific customers, then first you need to create customer groups.

Create a discount

To create a discount:

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

    Discounts

  2. From the Discounts page, click Add discount:

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

    Discount code name
  4. In the Options section, use the drop-down menu to select the discount type:

    Discount type

    Enter a monetary or percentage value for the discount in the Discount value box. If you want the discount to require a minimum purchase value, then check the box next to This discount requires a minimum purchase and enter a monetary value in the field that appears.

  5. In the Applies to section, select what this discount will apply to: Entire order, Selected collections, or Selected products.

    If you want the discount to apply to specific collections or products, then choose Selected collections or Selected products and use the search field or the Browse button to add them to the discount. If you want to remove a collection or product from the discount, then click X to delete it from the list:

    Delete a product or collection from your discount
  6. In the Customer eligibility section, select who this discount will apply to: Everyone or Selected group of customers.

    If you want the discount to apply to select customers, then use the search field that appears when you click Selected groups of customers to choose which customer groups you want to receive the discount.

  7. Discount usage is unlimited by default. If you want to limit discount usage, then check one of the options in the Usage limits section:

  • Limit number of times this discount can be used in total lets you set a total number of times a discount can be used. For example, setting a limit of 200 allows the discount code to be used 200 times across your customer base. If you choose this setting, then customers can use the discount multiple times.
  • Limit to one per customer tracks customer emails to limit discount use to one per customer.
  1. Use the calendar in the Active dates section to set the start date for the discount. If you want to set an end date for the discount, then click Set end date and use the calendar to choose when the discount will finish. If you don't choose an end date for your discount, then it will have no expiry.

    If you want the discount to be valid for only one day, then select the same calendar day for both the start date and the end date.

    Note

    The time when the discount starts and ends depends on the timezone that you selected in your Shopify admin. For example, if your store’s timezone is Eastern Standard Time and you select a start date of November 26, then your discount will start at 12 a.m. EST on November 26.

  2. When you are finished, click Save discount.

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

Tip

If your discount is set to discount an entire order, then the discount will be applied in sequence to all items in the cart. For example, if you have a $50 discount, then the first item will be discounted by $50. If the first item is less than $50 in value, then it will discount the value to $0. The order value can't go under $0.

Create a free shipping discount

If you want to offer free shipping, you can create a free shipping discount.

Free shipping discounts will never automatically apply to an order. Your customers need to 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.

Note

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.

To create a free shipping discount:

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

    Discounts

  2. From the Discounts page, click Add discount:

    Add discount

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

  4. In the Options section, use the drop-down menu to select the Free Shipping discount type:

    Discount type menu

    If you want to set a minimum purchase amount for free shipping, then click This discount requires a minimum purchase. Enter the minimum purchase amount you want to require for free shipping.

  5. In the Countries section, leave All Countries selected or choose the countries to which the discount will apply.

    If you want to offer free shipping for shipping rates under a certain monetary value, then check This discount only applies to shipping rates under a certain amount and enter the amount in the field. This discount applies to shipping rates only, and is unrelated to order amounts.

  6. In the Customer eligibility section, select who this discount will apply to: Everyone or Selected group of customers.

    If you want the discount to apply to select customers, then use the search field that appears when you click Selected groups of customers to choose which customer groups you want to receive the discount.

  7. Discount usage is unlimited by default. If you want to limit discount usage, then check one of the options in the Usage limits section:

  • Limit number of times this discount can be used in total lets you set a total number of times a discount can be used. For example, setting a limit of 200 allows the discount code to be used 200 times across your customer base. Customers can use the discount multiple times if you choose to limit the discount by number of uses.
  • Limit to one per customer tracks customer emails to limit discount use to one per customer.
  1. Use the calendar in the Active dates section to set the start date for the discount. If you want to set an end date for the discount, then click Set end date and use the calendar to choose when the discount will finish. If you don't choose an end date for your discount, then it will have no expiry.

    If you want the discount to be valid for only one day, then select the same calendar day for both the start date and the end date.

    Note

    The time when the discount starts and ends depends on the timezone that you selected in your Shopify admin. For example, if your store’s timezone is Eastern Standard Time and you select a start date of November 26, then your discount will start at 12 a.m. EST on November 26.

  2. When you are finished, click Save discount.

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

Want to discuss this page?

Visit the Shopify Community

Ready to start selling online with Shopify?

Try it free