How to Create a Discount Code in Shopify

Creating coupon codes for your customers is a great way to create incentives and increase your sales. Coupon codes can be shared via promotional emails sent to your email subscribers, via social media, or throughout other outlets where you can reach your current and potential customers. Things such as offering free shipping, 15% off, or other deals can be a great marketing strategy to attract customers.

Shopify makes it easy to create coupon codes — so today we’ll go over the different options available.

Check out our step-by-step tutorial showing you how to create a discount code in Shopify. Video not your thing? Scroll down and read our full tutorial.



How to Create a Discount Code in Shopify

On your Shopify dashboard you’ll go to Discount >> then select Create discount on the upper right hand corner.

You will see the option to create a Discount code or an Automatic discount.

The Discount code option will allow you to create a coupon code that customers will then have to enter to receive the discount. For the Automatic discount, the discount you have setup will automatically show up in their shopping cart — this means that customers won’t have to enter a coupon code.

Discount code or Automatic Discount Title 

Here you will enter the code that customers will have to use at checkout. If you selected Automatic Discount you will enter the name of the discount. Keep in mind that customers will see this name appear in the checkout process.

Entering a discount code: Create a Discount Code in Shopify

Types + Values

When creating a coupon code, Shopify offers a few different options for discounts. The fields below the Type section will change depending on the the option that is selected. Make sure to fill out those fields to offer the discount you want.

Selecting the type of discount code to be created.
  • Percentage: This option allows you to set a % off an order. Example, 15% off.
  • Fixed amount: With this option you will select a dollar amount that is discounted in the purchase. Example, $10 off.
  • Free Shipping: Select this option to offer free shipping on any order. This option is not available for the Automatic discount option.
  • Buy X get Y: You can create an incentive to get customers to purchase a specific item or items from a specific collections and receive something else at a discounted value. Example, buy any dress and receive a free belt.

Value (This will appear when you select the Percentage or Fixed Amount option)

Here you will enter the Discount Value in the field displayed. For example, 15% for the Percentage option or the dollar amount for the Fixed Amount option.

In the “Applies To” section, you can select whether you want this discount to apply to every item in the shop or specific collections/products. If you select a specific collection or product you will see the option to select the item(s) that the discount will apply to.

Entering the discount value: Create a Discount Code in Shopify

Countries (This will appear when you select the Free Shipping option)

Here you can select what locations will qualify for the Free Shipping discount. You can select All Countries or click Selected Countries and then select them in the search box.

Selecting what country for a discount code.

Customer Buys (This will appear when you select the Buy X and Get Y option)

You can create an incentive to get customers to purchase a specific item (or items) from a specific collections and receive something else at a discounted value.

For example, let’s say that anyone that buys a dress from the shop will can get a free shirt.

You will first select the Minimum quantity of items >> then enter the quantity that needs to be added to their cart >> then select Specific collections (or products) and search for the collection (or product) people have to purchase from.

Then in the Customer Gets section >> enter the quantity that needs to be added to their cart >> then select a Specific collections (or products) and search for the collection (or product) people have to purchase from.

In the At A Discounted Value section you will then select if you want the customer to get a percentage off for if the item(s) will be free.

Option for Customers buys section in Shopify.

Minimum Requirements

In the Minimum requirements section you can select if customers need to spend a minimum amount or purchase a specific quantity of items. 

For example, let’s say the customer has to be spend at least $50 to receive the discount — to do this you would select Minimum Purchase Amount and enter the value. Keep in mind you will have the option of selecting None, which means that isn’t any minimum requirement.

Minimum Requirements section when creating a coupon code: Create a Discount Code in Shopify

Customer Eligibility

This section provides you with the option of selecting who can use the coupon code in your shop.

The most common option is everyone — but you can limit it to a specific group of customers. This means if you have your customer list tagged in different groups, such as VIP members, etc — you can have the code only work for them. For the Specific customers option you can select which customers can use the code.

For both of these options customers must already have a customer account in your shop.

Selecting Customer Eligibility when creating a coupon code: Create a Discount Code in Shopify

Usage Limit

Here you can limit how many times a coupon code is used in total. So if you only want the first 10 people to use this code, you would select Limit number of times this discount enter 10 — or the amount you want it to stop working at.

You can also limit how many times someone uses the code by selecting Limit to one use per customer this means that the customer must create an account to use the coupon code.

Coupon code Usage Limit option in Shopify.

Active Dates

In this section you can select when you want the coupon code to start and also when it will end. Let’s say this is a coupon code for a Cyber Monday sale. You can have the code all setup ahead and of time and select for it to start on that Monday and end that night. If its an ongoing coupon code — then you don’t have to make changes to this area.

Select Active Dates for a discount code.

When you are done setting your coupon code, you will be able to see the Summary over on the right hand side.

Summary displayed when selecting the discount code options.

Always make sure to check the Summary area to make sure you selected all the settings for your coupon code. If you are happy with your coupon code settings just save your changes and then your all done.

Found our “How to Create a Discount Code in Shopify” tutorial helpful? Make sure to subscribe to our YouTube channel or check out the JDS blog for more Shopify tutorials. Don’t forget to share this tutorial too — just click on the icon below to share.

Join the JDS Email List

Receive access to "The Ultimate Homepage Checklist" in addition to our monthly newsletter "Coffee Break". Our goal is to share valuable tips for website management, content creation and productivity so you have the resources you need to make your business shine!

Hello! I'm Melissa!

Website Designer & Developer
Melissa has a decade of experience in web design and development for small businesses, creative companies and boutiques. During any design project, she focuses on creating a collaborative experience so that her clients feel heard throughout the entire creative process. She specializes in WordPress, Shopify and Squarespace and focuses on creating an online presence and website her clients will love.