Skip to main content
Discout code
Yuan avatar
Written by Yuan
Updated over a week ago

In this article:

You often need to provide a discount code to customers in the form. For example, after the customer adds the product to the cart and is about to leave your store without checkout, you will display a form to offer a discount code at this time. You need the discount code element to display the code. The form is as follows.

If you want to send the discount code to the customers by email, please refer to the article How to send discount code to a subscriber.

How to add a discount code element in form

  1. Click on the Add elements on the left and drag the Discount element into the workspace. Drag the Discount element to any position you want.

  2. Choose the discount code type.

Discount code type

2 types of discount codes are supported.

  • Fixed code. You create a code in advance, all the customers will receive the same code. Discount codes may spread and cause losses to your store.

  • Unique code. You don't need to create a code in advance, you only need to define the discount rules, and after a customer subscribes, a discount code will be generated for him. The codes every customer receives are different. Unique code is safer than fixed code.

Fixed code

If you have generated a fixed code in Shopify admin and you want to use it in the form, please paste it as follows.

If you didn't generate a fixed code in Shopify admin, please input the code string and click on the button Create this discount code.

After you click on the button Create this discount code, you need to define the discount rules as follows.

Once you click on the button OK, the discount code will be generated and synced to Shopify Admin.

Unique code

If you choose Unique code, you need to define the discount rules.

The unique code will not be generated in advance. Only after the visitor participates in the form, a discount code will be generated for him and synced to the Shopify admin.

You can find the discount codes in Shopify admin as follows.

Did this answer your question?