Discount codes are a great way to encourage customers to buy from your Shopify store. You can use them to offer a percentage off the purchase price, free shipping, or a free gift with purchase.
Discount codes can also be used to drive traffic to your store during slow periods.
Shopify makes it easy to generate and manage discount codes for your store. You can create discount codes from the Discounts page in your Shopify admin. To bulk upload discount codes to Shopify, you’ll need to use a CSV file.
To bulk upload discount codes to Shopify:
- From your Shopify admin, go to Discounts.
- Click Create discount code.
- In the Discount code field, enter a name for the discount code.
- In the Discount type section, select Fixed amount, Percentage, or Free shipping. If you want to offer a free gift with purchase, select Free gift with purchase.
If you want to offer a buy one, get one deal, select Buy X get Y. If you want to offer a buy one, get one free deal, select Buy X get Y free. Learn more about the different types of discounts that you can offer.
-
(Optional): In the “Apply discount code” pop-up message section, enter the message that you want customers to see when they enter the discount code at checkout.
-
(Optional): In the “Usage limits” section, specify how many times the discount code can be used in total and how many times it can be used per customer. If you don’t want to set any usage limits, then leave both fields blank.
-
(Optional): In the “Active dates” section, specify when you want the discount code to become active and when you want it to expire.
Now that you’ve created your discount code(s), it’s time to add them to your CSV file so that you can bulk upload them into Shopify.
Here’s an example of what your CSV file should look like:
Discount Code, Percentage Off, Minimum Spend Amount, Number of Uses Allowed Per Code, Number of Uses Allowed Per Customer, Free Shipping, Customer Eligibility, Starts On, Expires On, Products Eligible For Discount, Product Exceptions, Collection Eligibility, Collection Exceptions, URL Redirect To Collection, Manually Disable Discount Code At Checkout (0 = False; 1 = True),Automatically Disable Discount Code When It reaches its Usage Limit (0 = False; 1 = True),Minimum Required Cart Quantity Before Discount Applies (0 = False; 1 = True),Set The Maximum Number of Items That Can Be discounted (0 = False; 1 = True),Allow Customers To Use More Than One Discount Code On An Order (0 = False; 1= True),Exclude Sale Items From Discount (0 = False; 1= True)
Here’s an explanation of each column header:
Discount Code – The name of your discount code.
Percentage Off – The percentage amount that will be taken off the order total.
Minimum Spend Amount – The minimum amount that must be spent in order for the discount code to be valid.
Number of Uses Allowed Per Code – The total number of times that this particular discount code can be used before it expires.
Number of Uses Allowed Per Customer – The number of times that a customer can use this discount code before it expires.
Free Shipping – Whether or not free shipping is included with this discount code.
Customer Eligibility – Who is eligible for this discount? You can choose between “All Customers”, “Specific Group of Customers”, or “First Time Customers Only”. If you choose “Specific Group of Customers”, then you’ll need to specify which customer groups are eligible for the discount in the “Customer Groups Eligible For Discount” column.
Starts On – The date when this discount becomes active and can start being used.
Expires On – The date when this particular instance of the discount expires and can no longer be used.
Products Eligible For Discount – Which products are eligible for this discount? You can choose between “All Products”, “Specific Products Only”, or “Product Collections Only”. If you choose “Specific Products Only”, then you’ll need to specify which products are eligible for the discount in the “Products Eligible For Discount” column.
Product Exceptions – Which products are NOT eligible for this discount? You’ll need to specify which products are not eligible in the “Product Exceptions” column.
Collection Eligibility – Which collections are eligible for this discounts? You can choose between “All Collections”, “Specific Collections Only”, or “No Collections”. If you choose “Specific Collections Only”, then you’ll need to specify which collections are eligible for discounts in the “Collection Eligibility” column. Collection Exceptions – Which collections are NOT eligible for this discounts?
You’ll need to specify which collections are not eligible for discounts in the “Collection Exceptions” column. URL Redirect To Collection – If this field is populated with a URL (http://www..), then customers will be redirected to the specified collection page when they enter this discount in the checkout process. Manually Disable Discount Code At Checkout (0 = False; 1 = True) – This field allows you manually disable the discount in the checkout process if necessary . Entering value o f1 will disable the discount in the checkout process . Entering value o f0 will not disable the discount in the checkout process . This column is only available for percentage off, fixed amount, and free shipping discounts. Automatically Disable Discount Code When It reaches its Usage Limit (0=False ; 1=True)