
Creating discount coupon codes for your offers is easy with Shopify. After you have created your online offers in Collect Offers, you’ll need to create some discount codes so your customers can redeem your offers in your online Shopify store.
On the other hand, you can offer your customers discounts that apply automatically at checkout and on the cart. For an automatic discount to apply correctly, your customers need to add all eligible items to their carts.
You can have only one active automatic discount at any given time. Automatic discounts take precedence over discount codes, and customers can’t apply multiple discounts to a single order.
Customers who have an automatic discount applied to their checkout can’t use discount codes.
To create a Discount Code or Automatic Discount , start from your Shopify admin and click Discounts. Click Create discount and select which type of Discount you want to create.

In this article, I will explain you both of discount types at once. Because creating discount codes or automatic discounts have same simple steps.
You can create four different types of discount:
- Percentage discount, like 25%
(Discount code or Automatic discount) - Fixed amount discount such as $5 off
(Discount code or Automatic discount) - Free shipping discount
(For Discount code only) - Buy X get Y discount, such as buy one t-shirt get the second free
(Discount code or Automatic discount)
Start by entering a name for the new code that the customers can enter at checkout. Avoid using any special characters like dollar signs. You can use spaces in the name, so the words are separated.

You can also generate a random discount code name by clicking Generate Code.
Under Types, select the discount type that you want to create. The options below this section change depending on what type of discount you choose to create. To skip ahead for instructions for your specific discount type, use the timestamps below.
Discount Code Type #1
Percentage Discount
In Discount value, enter the percentage amount that is taken off when the discount code is used. Then select whether the discount code applies to an entire order, specific collections, or only specific products.
If the discount applies to specific collections or products, then search for the collection or products to add them to the discount. If you select products, you’re able to select specific variants to apply the discount to.

If you want to remove a collection or product that you added, click the X.
Enter the minimum requirements for this order. You can select: None, Minimum purchase amount, Minimum quantity of items purchased. To finish this discount code, skip ahead to the end.
Discount Code Type #2
Fixed Amount Discount
Under Discount value, enter the dollar amount that is taken off when the discount code is used. Then select whether the discount codes apply to an entire order, specific collections, or only specific products. If you select products, you’re able to choose specific variants to apply the discount to. If you want to remove a collection or product that you added, click the X.

If you select collections or products, you have the option to click the checkbox only apply the discount once per order. If you leave this unchecked, the discount will apply to each eligible product in an order.
Enter the minimum requirements for this order. You can select: None, Minimum purchase amount, Minimum quantity of items purchased. To finish this discount code, skip ahead to the end.
Discount Code Type #3
Free Shipping Discount
In the Countries section, leave All countries selected or choose the countries that you want the discount to apply to. If you want to delete a country you added, click the X to remove it. If you want to exclude free shipping for shipping rates over a certain dollar value, then check Exclude shipping rates over a certain amount and enter the amount in the field.

For example, you might want to offer free shipping when it costs less than $15 to ship the package. If a customer needs more expensive shipping, like international shipping that costs $50, then they won’t be able to use the discount code for free shipping.
Enter the minimum requirements for this order. You can select None, a minimum purchase amount or a minimum quantity of items purchased. To finish this discount code, skip ahead to the end.
Discount Code Type #4
Buy X Get Y Discount
In the Customer buys section, select the products or collections you want the promotion to apply to. Then set the quantity a customer needs to buy of those items before the discount code is applied. If the discount applies to specific collections or products, then search for the collection or products to add them to the discount. If you select products, you’re able to select specific variants to apply the discount to. If you want to remove a collection or product that you added, click the X to delete it.
In the Customer gets section, set the quantity of items that the discount applies to, and search for the eligible products or collections. Select whether the discount should take a percentage off each eligible item, or else make the item free.

In this example, the customer buys one t-shirt and gets the second 50%. It’s optional to check the box Set the maximum number of uses per order. If you check this, enter the maximum number of times that this promotion can be applied to an order.
For example, you might only want to give a 50% discount up to three t-shirts per order, or you might let the customer order as many as they like by leaving the box unchecked.
After you complete the steps for the specific discount type, there are a few more settings that apply to all discount types.
Customer Eligibility
In Customer eligibility, select the customers who can use the discount from the following options: Everyone, Specific groups of customers, or Specific customers.

Customer information comes from your store’s customer list. Search for the customers or customer groups that can use the discount.
To remove an individual customer or group of customers that you added, click the X next to them.
Discount Usage
Discount usage is unlimited by default, which means a customer can use the code as many times as they want while it’s active. If you want to limit discount usage, 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, if you set a limit of 200, then the discount code can be used 200 times total. Individual customers can still use the discount code more than once. Limit to one per customer limits discount use to one per customer based on the customer’s email address.
Active Dates
Lastly, decide when the code should be active. Set the start date when the discount code can be applied. If you want to set an end date for the discount, click Set end date and use the calendar to choose when the discount will end. If you don’t choose an end date for your discount, then it has no expiry.
Remember, for Automatic Discounts, you can only have one discount active at a time. Make sure the active dates do not overlap with another automatic ‘discount’s active dates. When ‘you’re finished, click Save.

Your new discount appears in the Discounts tab in your Shopify admin.
To promote the discount, you can send the code to your customers by email marketing campaign, add it to a social media post, or display it on your online store. Your customers need to enter the code during checkout to receive the discount. Remember that discounts cannot be combined.
If you still have questions, comment below or contact the Shopify support team directly.