Checkout, shipping & store settings

How to create discount codes

How to create discount codes

To create a discount code in your TeleportHQ store, open E-Commerce Settings, switch on Vouchers, then click Manage Vouchers → Add Voucher. Type a code like WELCOME10, choose the discount and which products it applies to, add optional conditions and limits, and click Save voucher. Shoppers type the code under Have a voucher? at checkout.

Before you start

Steps

1. Turn on vouchers

  1. In the left sidebar, click E-commerce (the card icon).
  2. At the top right of the E-Commerce panel, click the gear (E-Commerce Settings).
  3. In the E-Commerce Setup panel, scroll to Vouchers and switch it on. The first time, TeleportHQ shows "Setting up vouchers — creating the tables your codes are stored in…", then "Vouchers enabled. Create your first discount code from Manage Vouchers."
  4. Click Manage Vouchers, next to Vouchers. The Vouchers panel opens beside it.
The Vouchers setting in the TeleportHQ E-Commerce Setup panel, switched on, with its Manage Vouchers link highlighted

2. Create the code

  1. In the Vouchers panel, click Add Voucher.
The empty TeleportHQ Vouchers panel with the Add Voucher and Generate a batch buttons
  1. In Voucher code, type a code, for example WELCOME10, or click Generate for a random one.
  2. Optional: in Description (optional), note what it's for, for example Newsletter welcome offer. Only you see this.
  3. Under Discount, choose a Discount type:
    • Percentage: type the value in Discount (%), for example 10.
    • Fixed amount: type the value in Discount amount, for example 5. It's spread across the eligible products.
    • Free shipping: removes the delivery fee.
    • Buy X, get Y: type Buy (units) and Get free (units). For every group of X + Y eligible items in the cart, the Y cheapest are free.
  4. In Applies to, choose All products, Selected products or Categories, then pick the products or categories.
  5. Check Starts and Expires. A new code starts now and expires 7 days later. Clear Expires to keep the code valid with no end date.
The TeleportHQ Add Voucher form with Voucher code, the Generate button, Discount type and Applies to

3. Add conditions and limits (optional)

Under Conditions:

  • Minimum order value: the goods total, tax included, before any discount. For example 40.
  • Minimum items: how many eligible items the cart must hold.
  • First order only: only for a customer with no completed order yet (by account, or by billing email for guests).

Under Limits:

  • Unlimited uses: switch it off and type Maximum uses, for example 100, to cap how many times the code can be used in total.
  • Uses per customer: how many times one customer may use it. Leave it empty for no limit.
  • Combines with automatic discounts: on, the code adds to your automatic discounts. Off, it never shares an order with them, and the customer gets whichever saves more.
  • Active: switch off to stop the code working without deleting it.
The Conditions and Limits sections of the TeleportHQ Add Voucher form

4. Save and publish

  1. Click Save voucher. The message Voucher WELCOME10 has been created. appears, and the code shows in the list.
  2. The first time you switch Vouchers on, publish your site so the Have a voucher? field appears on your live checkout. Codes you add or change later work on your live store without publishing again.

Create many single-use codes at once

For a campaign or a partner, you can generate a batch of codes that each work once:

  1. In the Vouchers panel, click Generate a batch (in an empty list), or the copy icon at the top right (Generate a batch of single-use codes).
  2. In Batch name, type a name you'll recognize, for example Newsletter launch.
  3. In Number of codes, type a number between 1 and 1000.
  4. Set the Discount, Conditions and Limits as for a single code. They apply to every code in the batch.
  5. Click Generate codes.

The batch shows under Generated batches. Click Export CSV to download its codes, for example to send them through your email tool.

The TeleportHQ Generate a Batch form with Batch name and Number of codes

Check that it worked

  • In the Vouchers panel, the code shows with a status: Active, Scheduled, Expired, Disabled or Limit reached.
  • In the editor, open your checkout page. Under the voucher field on the canvas, click Test a voucher and pick your code to preview the discount.
  • On your published site, add a product to the cart, go to checkout, type the code under Have a voucher? and click Apply. You see "Voucher applied to your order." and a Discount line in the order summary.

Troubleshooting

"Another voucher already uses this code." Each code must be unique. Choose a different code.

"The end date must be after the start date." Fix Starts or Expires.

"Select at least one product or category, or let the discount apply to all products." Pick products or categories, or choose All products in Applies to.

The panel says "Your checkout page was built before vouchers existed…" or "…before voucher conditions existed…" Your checkout page is older than the feature. Click Recreate checkout page. It replaces the checkout page with a new one, so changes you made to the old page are lost. Then publish. Until you do, the form greys out or leaves out the conditions, Categories, Buy X, get Y, Uses per customer and Combines with automatic discounts.

Shoppers see one of these messages:

MessageWhy
"That voucher code is not valid."No code matches what they typed.
"That voucher is not active yet." / "That voucher has expired."Today is outside Starts and Expires.
"That voucher is no longer active."The code's Active switch is off.
"That voucher has already been used the maximum number of times."The code reached Maximum uses.
"You have already used that voucher as many times as it allows."The customer reached Uses per customer.
"Your order does not reach the minimum amount for that voucher."The cart is below Minimum order value.
"Your order does not have enough eligible items for that voucher."The cart has fewer items than Minimum items.
"That voucher is only valid on a first order."First order only is on and the customer has ordered before.
"That voucher does not apply to any items in your cart."None of the cart's products are covered by Applies to.
"Shipping is already free for your order."It's a Free shipping code and delivery is already free.
"That voucher cannot be combined with the discount chosen for your order…"The code doesn't combine with automatic discounts. The shopper can pick it under Choose your discount instead.

Good to know

  • Code format. Codes are letters, numbers, - and _, up to 50 characters. TeleportHQ turns letters into capitals, and shoppers can type them in any case.
  • One code per order. Once a code is applied, the field is replaced by the applied code until the shopper removes it.
  • See how a code performs: click a code to see Times used, Total discount given and Recent orders.
  • Announce it: in a code's details, click Create email to draft an email about it with AI in Growth. See How to create an email or SMS campaign.
  • Delete a code: click its bin icon (Delete voucher) and confirm. The code stops working at once. Orders that already used it keep their discount.
  • Turning Vouchers off removes the checkout field after you publish, and keeps your codes.
  • Checked again at purchase. If a code expires or runs out while a shopper is checking out, the order is stopped before it's placed.
  • No codes for subscriptions or gift cards. The voucher field is hidden when the cart holds a subscription or a gift card, and gift cards are never discounted.
Share

Related Articles

How to create automatic discounts

In TeleportHQ, switch on Automatic Discounts in E-Commerce Settings, click Manage Discounts → Add Discount, name the discount, choose its type, products and optional conditions such as a minimum order value, and click Create discount; it then applies on its own to every cart that qualifies, with no code.

What shoppers see: cart, favorites and checkout

A TeleportHQ store gives shoppers a cart and a checkout page where they enter their details, choose delivery (and a shipping method, if you use shipping zones) or store pickup, apply discount codes and gift cards, and pay online or on delivery; you set up every part in E-Commerce Setup.

How to put products on sale and show related products

To put a TeleportHQ store product on sale, open the product, click Discounts under More ways to sell it, click Add discount, choose Percentage or Fixed amount, set the Starts and Expires dates, click Create discount and save the product; to show "you may also like" products, click Related products and pick them.

How to set delivery fees and free delivery

In TeleportHQ, open E-Commerce Settings, click Delivery Settings under Enable Delivery, set one flat Delivery Price, optionally switch on Free Delivery Over Threshold with a Minimum Order Amount, and click Save Delivery Settings; for different prices per country, add shipping zones.

How to create an email or SMS campaign

In the TeleportHQ Marketing Studio, open Campaigns → New campaign, choose Email campaign or SMS campaign, pick who receives it, your sending service and a goal, review the plan AI builds and click Accept & generate; TeleportHQ writes the messages and sends them on their scheduled days.

How to download sales reports and order exports

In TeleportHQ, open Growth → E-Commerce → Orders → Reports & Exports to generate a PDF sales report, download a period's invoices as a ZIP, or export orders or subscriptions as a CSV or JSON file; these tools work on Trial, Pro and Premium workspaces.