Creating discount codes

You can offer your customers a fixed value, percentage, or shipping discount on products, collections, or variants in your store. If you sell online, then you can offer buy X get Y discounts to encourage customers to buy items.

You can specify the following:

  • the dates for which the code is valid
  • the number of times that a code can be used
  • a minimum order amount before the code can be used
  • which products, collections, or variants the discount can be applied to.

Your customers can redeem discount codes in your online store. Your customers can also redeem discount codes in person if you're using Shopify POS with a POS Pro subscription.

All Shopify plans include discount codes.

After your discount codes are set up, you can use the Sales by discount report to find out how often your discount codes are being used. For details on the report, refer to Sales by discount.

Considerations for creating discount codes

Before you create a discount code, review the following considerations:

  • A discount code can apply to up to 100 specific products and variants.

  • There's a limit of 20,000,000 unique discount codes for each store.

  • To ensure that discount code names are added correctly to your store's checkout URL, avoid using special characters in the name of the discount code.

  • Collections can't hold individual variants. If you add a product variant to a discounted collection, then the discount applies to every version of the product.

  • If you create a discount with a start and end time, then the time is based on the time zone that you selected in your Shopify admin. For example, if your store’s time zone is Eastern Standard Time (EST) and you select a start date of November 26, then your discount starts at 12:00 a.m. EST on November 26.

Create a fixed value or percentage discount

Steps:

Create a free shipping discount

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

Free shipping discounts 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.

Steps:

Create a Buy X Get Y discount

Buy X get Y promotions are a popular way to incentivize new customers to buy your products and to reward loyal customers. You can use them to increase your sales and profits and to sell slow moving inventory.

For example, suppose that your promotion offers customers a free hat when they purchase any T-shirt. With Buy X get Y promotions, you can offer customers one free hat for the whole order, or you can offer them one free hat for each T-shirt included in their order.

You could also create a discount that offers the free hat when the customer spends a specified amount of money.

You can create an automatic discount for buy X get Y promotions.

Steps:

Subscription discounts

If you offer subscription products, then there are more options when creating fixed-amount, percentage, or free shipping discounts.

The Purchase type section appears on the Create discount code page. You can choose if a discount applies to subscription purchases, one-time purchases, or both.

Change a discount's purchase type

When you create a discount code you can choose to limit the use of your discount to specific purchase types. If you select Subscription in the Purchase type section of the Create discount code page, then you can choose to apply the discount to All subscription products, All subscription products in a specific collection, or Specific subscription products.

If you have an existing discount code that you want to update, then you can edit your discount code to include subscription-based rules.

Steps:

  1. From your Shopify admin, go to Discounts.

  2. Click the discount that you want to edit.

  3. In the Purchase type section, choose the purchase type that you would like to limit your discount code to:

    • If you select Subscription as the purchase type for your discount code, then you can choose which subscription products to apply your discount to. You can limit the use of your discount code to specific subscription products, or a specific collection.
    • If you choose to limit your discount to a specific subscription product, or collection, then search for your product or collection using Browse button that appears.

Change usage limits on Free shipping discount

If you offer a free shipping discount that applies to subscription products, then you can specify for how long the discount applies. You can choose to limit your free shipping discount to the first payment, to limit your free shipping to a certain number of payments, or to enable free shipping on all future subscription payments.

If you have an existing free shipping discount that you want to update, then you can edit your discount code to include subscription-based rules.

Steps:

  1. From your Shopify admin, go to Discounts.

  2. Click the free shipping discount you want to edit.

  3. Update the purchase type to Subscription in the Purchase type section of the discount editor.

  4. In the Usage limits section, select the limitations that you want to apply to your discount under Recurring payments for subscriptions.

Duplicate a discount on a mobile device

From the Shopify mobile app, you can save time by duplicating a discount that's similar. You can make changes to a duplicated discount before you save it.

Steps:

Ready to start selling with Shopify?

Try it free