JeriCommerce creates real discounts in your Shopify store and generates a batch of unique codes from them. This guide walks through the generator from start to finish.

You will find it in the discount section of a reward, coupon, or gift card campaign. Fixed rewards use Associated discounts, Points as cash uses Discount code, and coupons use Discount associated. If the section has no codes yet, click Create in Shopify. If it already has codes, open Add unique codes → Create Shopify discount. Both take you to the Create discount page.

If you are creating a brand new reward or coupon, you can set the discount up before saving. JeriCommerce holds it as a draft and attaches it the moment you save the page.


Step 1: Choose the Discount Type

The generator opens on a short list of the four types, the same way Shopify opens its own discount creation.

The discount type picker showing fixed amount, percentage, free shipping, and buy X get Y
Pick the kind of offer you want to make

Pick one and the form opens with only the options that apply. If you are not sure which to choose, see Discount types.


Step 2: Fill In the Discount

The form is split into sections. A Summary panel on the right updates as you go, so you can read your offer back in plain language before generating anything.

The discount form with the live summary panel
The summary panel rewrites itself as you fill in the form
1

Discount value

Enter the amount or percentage customers get. Free shipping has no value to enter. Buy X get Y asks instead for the quantity customers buy and the quantity plus percentage they get.

2

Apply this discount to

Choose All products, or narrow the discount to selected Products or Collections. Full details in Target products and customers.

3

Customer eligibility

Leave it on All customers, or restrict the discount to specific Shopify customer segments.

4

Minimum purchase requirements

Turn on Requires a minimum purchase and set the amount customers need to spend before the code works. Leave it off and any order qualifies.

5

Combinations

Turn on Allow combining with your own discounts if you want these codes to stack with your other promotions. It is on by default.

6

Active dates

For a pre-generated batch, turn on Run on set dates to choose when the discount starts and its calendar end date. Leave it off and the discount starts right away and has no scheduled end date. If you set an end date, customers see the expiry on their wallet pass. This is different from how long a coupon link remains visible on the pass.

7

Codes

Set the format and how many codes to generate. This is covered in detail below.


Step 3: Set the Code Format

Prefix

A short label at the start of every code, like LOYALTY- or PROMO-. It makes codes easy to recognise in your Shopify reports. A prefix is required.

Number of digits

How many random characters follow the prefix. Choose between 6 and 15. Ten is a good default: long enough that nobody guesses a code, short enough that customers can type it.

The Code preview underneath shows exactly what a generated code will look like.

The codes section showing prefix, number of digits, code preview, and auto recharge
Check the code preview after choosing your prefix and number of digits

How many unique codes

Generate anywhere from 1 to 100,000 codes in one batch. Small batches suit testing or limited offers. Larger batches are safer for campaigns that hand out codes quickly.

Auto recharge

Leave Auto recharge on and JeriCommerce generates a fresh batch of the same size once 75% of the codes are claimed, so you never run dry mid-campaign. See Unique codes and auto recharge.


Step 4: Generate

Click Save. JeriCommerce creates the discount in Shopify straight away, then builds the codes in the background.

Large batches take a little while. You can leave the page, the work continues on our servers, and codes become claimable as they arrive.

The first time you use the product or collection picker, Shopify may ask you to approve updated permissions for JeriCommerce. Accept the prompt, otherwise the picker cannot read your catalog.


On-demand Shopify codes

For a fixed reward or coupon, turn on Codes expire in the Shopify discount generator. Set Days until each code expires to a whole number of at least 1. JeriCommerce creates each code when the reward is redeemed or the coupon is assigned, and its expiry counts from that moment.

Points as cash always uses on-demand codes with a Fixed amount Shopify discount. Its Codes expire option is optional: leave it off for codes without an expiry, or turn it on and set Days until each code expires.

On-demand codes do not use a code pool, so batch size and Auto recharge do not apply. CSV uploads and gift card campaign claims cannot use them. Code expiry is separate from how long a coupon link stays visible on the loyalty card. After saving, a batch's generation mode cannot be changed; create a new batch to use a different mode.

On-demand Shopify discount configuration with expiry and code format controls
Set the code format and optional expiry without choosing a batch size or auto recharge

For details on the reward's conversion and redemption limits, see how rewards work.


Managing a Discount After Creating It

Every batch you create is listed in the discount section, along with its value and any minimum spend. The Available column shows how many codes are left out of the total, or an Auto Recharge badge if the batch tops itself up, since a recharging batch never really runs down.

The list of discount batches with the actions menu open
A batch with auto recharge on, and the actions menu open

Click the three dots on a batch for two actions:

  • Open on Shopify takes you to the discount in your Shopify admin, where you can see every code and adjust the rules. Changes you make there keep working with JeriCommerce.
  • Remove unclaimed deletes the codes nobody has taken yet. If the batch had auto recharge on, this switches it off too.
Discount details page on Shopify
The same discount, open in Shopify

The Remove unclaimed action does not delete codes already claimed by customers.