Create a discount code
Manual discount code is a promotional code that only applies the discount when a customer adds the discount code to their cart. You can provide your customers with a discount code of a certain amount, a discount on a discounted rate, a discount in the form of free shipping for products, collections or variations in your store. In this article, we'll show you how to manually generate a discount code in just a few steps.
From your store admin, go to Marketing & Sales > Discounts > Create discount or go directly to the Discounts section if your store is using the Theme editor.

In the Discount code section, enter a name for the new discount code. To generate a random discount code, click Generate code. When a customer enters this code at the checkout page, the discount will be applied to the customer's cart.

You can set up a shareable link that applies the code automatically. To generate a shareable link, in Get Shareable Link section, enter a landing page URL > click Generate shareable link.


The shareable URL must start with http:// or https:// to be valid. The shareable URL must be generated from your store and the link must be accessible (not showing error 404 - Page not found).
You can share this discount link with your customers via email or social media. This discount will be displayed at view cart page when customers use this link.


You can include a discount code in the abandoned checkout email to encourage customers to complete their orders. In Discount code, click Select discount code to choose the available codes in your store or add a new one. Once the discount is added into the abandoned checkout email, after the customer clicks the CTA (call-to-action) direct to checkout page button or CTA (call-to-action) direct to Homepage, the customer will be proceeded to either checkout or cart page. In these pages, the discount code will automatically be applied. Please refer to the article Set up Abandoned Checkout emails for more details.


Choose the discount type in Discount Type section. Currently, we supports 4 types, including Percentage, Fixed amount, Free shipping, and Buy X get Y.

Percentage: enter the percentage of the discount.
Fixed amount: enter a certain discount amount.
In the Applies to section: select the type of products in an order that the discount will be applied to such as Entire order, Specific collections, Specific products.

In the Minimum requirement section, you can choose the conditions to apply the discount: None, Minimum purchase amount, Minimum quantity of items.

In the Countries category, select the countries where the discount is available, such as All countries or Specific countries.

Countries are based on the customer's shipping address.
In Minimum requirement: you set the conditions for discounts: None, Minimum purchase amount, Minimum quantity of items

For PlusBase stores, the free shipping discount code will not be applicable for Premium shipping lines.
In Customer buys, enter the minimum number of products that customers need to buy to receive the discount in the Quantity field. Then, select the product for which, if a customer purchases the product, a discount will be offered at the Any items from field (you can select Specific products or Specific collections).

In Customer gets, select the product that the customer will receive a discount. Here, enter the quantity and select items that customers will get (you can select Specific products or Specific collections).

In At A Discount Value section, choose the type of discount as Percentage or Free. Check the box Set a maximum number of uses per order if you want to set the maximum number of discount code to be used in an order and enter the maximum number in the box below.

In Customer eligibility, choose the customer eligible for discounts: everyone or Specific customers.

In Usage limits, choose the limits for discount uses: Limit number of times this discount can be used in total or Limit to one use per customer

In Active dates, set up the starting time for discount. Tick Set end date if you want to.

The time in Active dates is the time shown in the default time zone that you set for the entire store.
Click Save.
You cannot create a single discount code for one or several product variants. In other words, a discount code can only be applied to products including all product variations.
Overview of Discount
Create an automatic discount
Manage existing discounts
Step by Step Tutorial
From your store admin, go to Marketing & Sales > Discounts > Create discount or go directly to the Discounts section if your store is using the Theme editor.

In the Discount code section, enter a name for the new discount code. To generate a random discount code, click Generate code. When a customer enters this code at the checkout page, the discount will be applied to the customer's cart.

You can set up a shareable link that applies the code automatically. To generate a shareable link, in Get Shareable Link section, enter a landing page URL > click Generate shareable link.


The shareable URL must start with http:// or https:// to be valid. The shareable URL must be generated from your store and the link must be accessible (not showing error 404 - Page not found).
You can share this discount link with your customers via email or social media. This discount will be displayed at view cart page when customers use this link.


You can include a discount code in the abandoned checkout email to encourage customers to complete their orders. In Discount code, click Select discount code to choose the available codes in your store or add a new one. Once the discount is added into the abandoned checkout email, after the customer clicks the CTA (call-to-action) direct to checkout page button or CTA (call-to-action) direct to Homepage, the customer will be proceeded to either checkout or cart page. In these pages, the discount code will automatically be applied. Please refer to the article Set up Abandoned Checkout emails for more details.


Choose the discount type in Discount Type section. Currently, we supports 4 types, including Percentage, Fixed amount, Free shipping, and Buy X get Y.

Percentage or Fixed amount
Percentage: enter the percentage of the discount.
Fixed amount: enter a certain discount amount.
In the Applies to section: select the type of products in an order that the discount will be applied to such as Entire order, Specific collections, Specific products.

In the Minimum requirement section, you can choose the conditions to apply the discount: None, Minimum purchase amount, Minimum quantity of items.

Free Shipping
In the Countries category, select the countries where the discount is available, such as All countries or Specific countries.

Countries are based on the customer's shipping address.
In Minimum requirement: you set the conditions for discounts: None, Minimum purchase amount, Minimum quantity of items

For PlusBase stores, the free shipping discount code will not be applicable for Premium shipping lines.
Buy X get Y
In Customer buys, enter the minimum number of products that customers need to buy to receive the discount in the Quantity field. Then, select the product for which, if a customer purchases the product, a discount will be offered at the Any items from field (you can select Specific products or Specific collections).

In Customer gets, select the product that the customer will receive a discount. Here, enter the quantity and select items that customers will get (you can select Specific products or Specific collections).

In At A Discount Value section, choose the type of discount as Percentage or Free. Check the box Set a maximum number of uses per order if you want to set the maximum number of discount code to be used in an order and enter the maximum number in the box below.

In Customer eligibility, choose the customer eligible for discounts: everyone or Specific customers.

In Usage limits, choose the limits for discount uses: Limit number of times this discount can be used in total or Limit to one use per customer

In Active dates, set up the starting time for discount. Tick Set end date if you want to.

The time in Active dates is the time shown in the default time zone that you set for the entire store.
Click Save.
You cannot create a single discount code for one or several product variants. In other words, a discount code can only be applied to products including all product variations.
Related articles
Overview of Discount
Create an automatic discount
Manage existing discounts
Updated on: 09/11/2023
Thank you!