Refresh

This website matrixify.app/documentation/discounts/ is currently offline. Cloudflare's Always Online™ shows a snapshot of this web page from the Internet Archive's Wayback Machine. To check for the live version, click Refresh.

Start Free Trial
Start Free Trial

Discounts

See what each field/column from our “Discounts” template means including possible allowed values and examples.

Fields marked as “Export Only” cannot be imported/set in Shopify but can be exported with Matrixify export.

Excel Sheet Name

Discounts

When importing a file, to tell the app that you are importing Discounts, you need to ensure that the sheet/tab name is set to “Discount” or “Discounts”.

For example:

  • If using a CSV file then the file name can be “my-shopify-discounts.csv”
  • If using an XLSX file then the sheet/tab name would be set to “Discounts”. The file name for the XLSX file does not matter.

Even if the sheet/tab name is not set correctly, you will be able to manually change and set the entity you are importing after uploading file in the app.

See more on the Matrixify app import process and import user interface.

Need a quick start?

Columns Available For Export And Import

Basic Columns

Column Description / Example Value
ID ID is automatically generated number by Shopify to identify the item.
It is filled in by an Export.
Can be used for Import to identify and update existing Discounts.
When creating new Discount, leave this value empty.

Allowed Values

Number

Example
11920047631
Title Title of the Discount to show in Admin.

This is not a discount code – it’s the name to call all of the discount codes of the same kind.

To set the discount code, fill the “Code” column.

If you will not import the Title column, it will get automatically set to the same as the Code from the Code column.

Allowed Values

Text

Example
Xmas Discount
Command When importing Discount row – tell the app, what to do with it:

 

  • NEW: will try to create a new Discount with the provided details. If such Discount will already exist (with the same ID or same Code), then the result will be Failed.
  • MERGE: will try to find the existing Discount, and update it with data from the row. If such a Discount will not be found, then it will create new.
  • UPDATE: the app will search for an existing Discount and update it. If a discount cannot be found then it will fail to import.
  • REPLACE: WARNING! Use this Command value to fully replace the whole discount, not individual fields. Using this Command value, the app will delete the discount from the store completely and create a new one only from data in the file, resulting in losing all data that is not included in the import file.
    If such Discount with provided ID or Code exists, then the app will delete it. After that, it will create a new one. If an existing Discount will not be found, then still the app will create a new one. The difference from UPDATE is that it will not keep any of columns, which were not included in the import file since the Discount will be deleted and re-created.
  • DELETE: the app will delete the existing Discount, which is found by ID or Code. If such Discount will not be found, then the result will be Failed. This DELETE command is very handy for deleting Discounts in bulk.
  • IGNORE: the app will ignore this Discount and will skip it.

If no Command is specified, then the app will assume the UPDATE command.

Allowed Values
NEW
MERGE
UPDATE
REPLACE
DELETE
IGNORE
Example
MERGE
Code Discount code that customers use at checkout. Required when creating a discount.

You can have several discount codes for one Discount. To create several discount codes, duplicate the row with the same ID or Title. When exporting a Discount with several codes, each code also will be put in a new line.

The maximum length is 255 characters. The code is not case-sensitive, which means that there is no difference if big or small letters are used.

Allowed Values

Number

Example
christmas-sale-AB12
Used Count

Export only

Number of times the discount code has been redeemed.

Example
6
Discount Type Discount Type field specifies how Discount is handled within your Shopify store.
See the Shopify manual for more details about different discount types.

Allowed Values
Percentage
Fixed Amount
Free Shipping
Buy X Get Y
Example
Percentage
Discount Value Here you provide the percentage amount for the Percentage discount or just amount for Fixed amount or value for the Buy X Get Y discount.

The number should be negative.

Allowed Values
Negative decimal number
Example
-50.50
Discount Value Type

Only for Discount Type –
Buy X Get Y

Value type for Buy X Get Y discounts.

In Buy X Get Y discounts you can specify what discount the customer gets for specific items. This can be a Percentage off items, the exact Amount Off Each item or if the customer gets Free items.

Works together with Discount Value column

The discounted value is set with the “Discount Value” column if the “Discount Value Type” is Percentage or Amount Off Each.

If the “Discount Value Type” is set to Free then the app will ignore the value provided in the “Discount Value” column as the item is free and does not have a specific discount value.

Default values when importing

If the “Discount Value Type” is imported as empty or the column is not in the file then:

  • If creating new Discounts the app will assume it as Percentage.
  • If updating existing Discounts, the app will use the existing Discount Value Type.

“Discount Value Type” will be ignored for Discounts that are not Buy X Get Y.

Allowed Values
Percentage
Amount Off Each
Free
Example
Amount Off Each
Minimum Purchase Amount Minimum purchase amount for discount to be applied. Orders below the minimum purchase amount will not have discount.

Allowed Values

Decimal number

Example
20.50
Limit Total Times Number of times this discount can be used.

Allowed Values

Number

Example
2
Limit One Use Per Customer If TRUE, then each customer will be able to use this discount code only once.

Allowed Values
TRUE
FALSE
Example
TRUE
Limit Once Per Order If FALSE, then the discount amount will be taken off each eligible product in an order.

Can only be edited for Fixed Amount discounts that are applied to specific Product/s or Collection/s.

Allowed Values
TRUE
FALSE
Example
TRUE
Max Uses Per Order Only for “Buy X Get Y” discount type: what is the maximum of allowed uses per order.

The default is unlimited.

Allowed Values

Number

Example
5
Minimum Quantity Of Items The minimum number of items to purchase to apply the discount code.
Can be used for all discount types, except for “Buy X Get Y”.The default is empty, which means 1.

Allowed Values

Number

Example
10
Status

Export only

Discount Status cannot be imported.
When importing use Starts At and Ends At columns to manage if a discount is Active, Expired or Scheduled.

  • ActiveStarts At in the past and Ends at not set or in the future.
  • ExpiredEnds At in the past.
  • ScheduledStarts At in the future.

Export can be filtered by Status.

Allowed Values
Active
Expired
Scheduled
Example
Active
Starts At Date and time, from what the discount can be used. If left empty, will start now.

If set in the future then discount will be show as Scheduled in Shopify.

Allowed Values

Date & Time

Example
2018-12-17 18:20:07 +0200
Ends At Date and time, till what the discount can be used. If left empty, the code will never expire.

Must be date and time after Starts At.

If set in the past then the discount will show as Expired in Shopify.

Allowed Values

Date & Time

Example
2018-12-17 18:20:07 +0200
Updated At

Export only

It will be automatically updated, whenever you change the Discount data.

Allowed Values

Date & Time

Example
2018-12-17 18:20:07 +0200
Free Shipping: Country Codes

Only for Discount Type –
Free Shipping

Country international codes, consisting of 2 letters, to which free shipping to be applied to.

To enter several country codes, you can either enter them in the same cell, separating country codes by comma. Or you can create new rows with the same Discount Code value, and have each country code in its own row.

It is important, that each Country Code is added to at least one Shipping Zone. You can do it in Admin: Settings -> Shipping -> Shipping Zones.

Use “*” to apply free shipping to the Rest of the World.

Allowed Values

Country Code

Example
CA, *
Free Shipping: Over Amount

Only for Discount Type –
Free Shipping

Amount starting from what free shipping will be applied with this discount code.

Allowed Values

Decimal number

Example
20.00
Customer Buys: Quantity

Only for Discount Type –
Buy X Get Y

Number of items customer have to buy to receive discount.

Allowed Values

Number

Example
1
Customer Buys: Collections

Only for Discount Type –
Buy X Get Y

The Handles of linked Collections that customer buys to apply discount. This allows copying Discounts between shops, too.

To apply discount code to several collections use one of two approaches:

  • put Collection Handles, separated by a comma in the same row cell,
  • put each Collection Handle in its own new row, by duplicating the same Discount Code for each row.

To see the Collection Handle, you can export Collections and find Handle in the Export file. Or you can see Collection Handle as the last URL part when looking in Admin into SEO fields section.

Allowed Values

Comma seprated handles

Example
tshirts, best-selling
Customer Buys: Products

Only for Discount Type –
Buy X Get Y

The Handles of linked Products that customer buys to apply discount. This allows copying Discounts between shops, too.

To apply the discount code to several products use one of two approaches:

  • put Product Handles, separated by a comma in the same row cell,
  • put each Product Handle in the new row and fill in Discount Code with the same code for each row.

To see the Product Handle, you can export Products and find Handle in the Export file. Or you can see Product Handle as the last URL part when looking in Admin into SEO fields section.

Allowed Values

Comma seprated handles

Example
tshird-red, tshird-green
Customer Buys: Variants

Only for Discount Type –
Buy X Get Y

The Handle|SKU combination of linked Product Variants that customer buys to apply discount. This allows copying Discounts between shops, too.

To apply discount code to several Product Variants use one of two approaches:

  • put Product Handle|SKU combinations, separated by a comma in the same row cell,
  • put each Product Handle|SKU in the new row and fill in Discount Code with the same code for each row.

To find Product Handle|SKU combinations, you can export Products and take from “Handle” and “Variant SKU” column in the Export file. Or you can see it in the Admin.

To list Variant IDs, you don’t need to enter Product Handles – otherwise, it will apply the discount to the whole Product as well.

Shopify limit is 100 variants for each discount code.

Allowed Values

Comma seprated handles|SKU combination

Example
tshird-red|SKU-1, tshird-green|SKU-2
Customer Gets: Quantity
Only for Discount Type –
Buy X Get Y
Number of items customer will receive the discount for.

Allowed Values

Number

Example
1
Applies To: Collections The Handles of linked Collections that customer gets discount for. This allows copying Discounts between shops, too.

To apply the discount code to several collections use one of two approaches:

  • put Collection Handles, separated by a comma in the same row cell,
  • put each Collection Handle in its own new row, by duplicating the same Discount Code for each row.

To see the Collection Handle, you can export Collections and find Handle in the Export file. Or you can see Collection Handle as the last URL part when looking in Admin into SEO fields section.

Allowed Values

Comma seprated handles

Example
tshirts, best-selling
Applies To: Products The Handles of linked Products that costumer gets discount for. This allows copying Discounts between shops, too.

To apply the discount code to several products use one of two approaches:

  • put Product Handles, separated by a comma in the same row cell,
  • put each Product Handle in the new row and fill in Discount Code with the same code for each row.

To see the Product Handle, you can export Products and find Handle in the Export file. Or you can see Product Handle as the last URL part when looking in Admin into SEO fields section.

Allowed Values

Comma seprated handles

Example
tshird-red, tshird-green
Applies To: Variants The Handle|SKU combination of linked Product Variants that customer gets discount for. This allows copying Discounts between shops, too.

 

To apply discount code to several Product Variants use one of two approaches:

  • put Product Handle|SKU combinations, separated by a comma in the same row cell,
  • put each Product Handle|SKU in the new row and fill in Discount Code with the same code for each row.

To find Product Handle|SKU combinations, you can export Products and take from “Handle” and “Variant SKU” column in the Export file. Or you can see it in the Admin.

You can also list Variant IDs in this field.

Shopify limit is 100 variants for each discount code.

Allowed Values

Comma seprated handles|SKU combination

Example
tshird-red|SKU-1, tshird-green|SKU-2, 231598723511
Applies To: Customer Groups List of customer groups, which can use this discount code.

To apply the discount code to several Customer Groups use one of two approaches:

  • put Customer Groups, separated by a comma in the same row cell,
  • put each Customer Group in the new row and fill in Discount Code with the same code for each row.

You can find your customer groups in Shopify Admin, Customers section. To define a new customer group, create a new saved search.

Allowed Values

Comma seprated names

Example
Email Subscribers, From Latvia
Applies To: Customers Shopify generated Customer ID. If specified existing customer ID from that store, Discount will be linked to that customer.

To apply the discount code to several Customers use one of two approaches:

  • put Customer IDs, separated by a comma in the same row cell,
  • put each Customer ID in the new row and fill in Discount Code with the same code for each row.
Allowed Values

Number

Example
1234567890
Applies To: Customers Email Email for the customer linked to the Discount.
Can be exported and import to link customer to the Discount.Exports one row per Customer linked to the Order. Can be imported as multiple customers in the same cell, separated by a comma.

Allowed Values

Text

Example
[email protected]

Export Filters

In the Matrixify app, you can apply filters to Export only specific items from your Shopify Store.
When creating new export, select what you wish to export, and under that entity click on the “Filters” button.

Note: total displayed item count and estimated time won’t be affected by the filters applied.

Filter Description
ID Filters Discounts that have specific Shopify IDs.

Possible Conditions
  • equals to any of
  • not equal to any of
Example
87123461124,1234897263,98273493214
Title Put the comma-separated list of all the Discount Title which you want to filter by.

Possible Conditions
  • equals to any of
  • contains any of
  • matches Pattern
  • contains none of
Example
X-Mas2019, Black Friday Discount
Status Allows to export filters by their Status.

Possible Conditions
  • Active
  • Scheduled
  • Expired
Starts At Allows exporting Discounts by their Starts At field.

Relative date condition allows you to export Discounts that have Starts At the last full amount of time.
For example – Last 1 Days, would export Discounts with Starts At from last full day, so yesterday.

Possible Conditions
  • on or after
  • on or before
  • date range
  • relative date
Ends At Allows exporting Discounts by their Ends At field.

Relative date condition allows you to export Discounts that have Ends At in the last full amount of time.
For example – Last 1 Days, would export Discounts with Ends At from last full day, so yesterday.

Possible Conditions
  • on or after
  • on or before
  • date range
  • relative date
Created At Allows exporting Discounts which were created in the Shopify within a specific date range.Relative date condition allows you to export Discounts that have been created in the last full amount of time.

For example – Last 1 Days, would export Discounts from last full day, so yesterday.

Possible Conditions
  • on or after
  • on or before
  • date range
  • relative date
Updated At Allows exporting Discounts which were last updated in the Shopify within a specific date range.Relative date condition allows you to export Discounts that have been updated in the last full amount of time.

For example – Last 1 Days, would export Discounts from last full day, so yesterday.

Possible Conditions
  • on or after
  • on or before
  • date range
  • relative date

Good To Know

  • When you want to bulk update existing Discounts, you need to have either ID, or “Discount Code” column (whichever comes first), because it will search for existing Discount by this “key”.
  • To update only some columns of existing Discounts, remove those columns from the Excel file, which you don’t need to update. Then the Import will not touch them.
  • If you will have the Column with an empty value, then this field will be changed to empty.
  • When you copy Discount codes from one shop to another, if they have related Collections Products or Variants, make sure that those exist in your other store, too.