Skip to main content

Open in TWICE Admin

Catalog → Discount Codes
Create a discount code that applies itself to online store checkouts, so shoppers see the lower price while they browse and your counter keeps the price-table price. The discount codes concept page explains how scope and precedence work.

Prerequisites

Required permission: catalog:discount create and manage. Owner, Admin and Manager hold it. A Member can view codes but cannot create or edit one. See Users & Roles.
Check that a discount fits before you start:
  • A discount only lowers a price. It cannot make one channel more expensive than the price table.
  • The storefront shows the price table price struck through next to the lower price, not a second list price.
  • One percentage covers every listing in scope. Give listings that need different fixed amounts one code each.
  • A code the customer types follows Combinable. See Create a discount code.
  • Orders you create in admin never receive the code.

The walkthrough

1

Create the code

Go to Catalog → Discount Codes and click Create discount code. TWICE creates the code at once and opens it with Enabled switched off, so nothing reaches a customer while you edit.
2

Name the code for your team

Replace the placeholder in Code with a name such as ONLINE-PRICE. Add a line under Description, which only staff see. Open the access select and choose Only staff and integrations, because shoppers never type this code.
3

Set the discount

Choose Percentage under Discount type and enter the share to take off under Value, for example 10. Choose Fixed instead for one flat amount off each item.
4

Turn on Auto-apply for the online store

Switch Auto-apply on. Open In storefronts, which appears once the switch is on, and select Online store. Leave it empty to cover every storefront your account offers.
5

Limit the code to a location

Skip this step for a store-wide online price. To price one location differently, open Limit to locations and select it. A checkout at any other location gets nothing from this code.
6

Limit the code to listings

Leave Apply to listings and Apply to collections empty to discount everything. Fill one in to discount only those items. Name items that must keep their price under Exclude listings or Exclude collections.
7

Switch Enabled on and save

Switch Enabled on and click Save. Do this last, because an enabled code applies to checkouts at whatever it says at that moment.
8

Compare the storefront and the counter

Open a listing in your online store and check that the lower price shows with the original struck through. Then create an order in admin for the same listing and check that it keeps the price-table price.

How do I know it worked?

The listing page, collection page and cart in your online store show the lower price. The online store checkout carries the code as a discount line with no code typed. An order created in admin shows no discount.

Troubleshooting / common pitfalls

The code is disabled, archived, outside its Offered from and Offered until dates, past its Usage limit, or the listing sits under an exclusion. See Auto-apply.
Overlapping auto-apply codes resolve by scope. A code limited to locations beats one limited to storefronts, which beats one limited to listings or collections, which beats a store-wide code. See Auto-apply.
A discount cannot raise a price. Create a separate listing for that channel. See Price a listing.

Discount Codes

How scope, precedence and combining work.

Create a discount code

The full set of code settings and why a code is rejected.

Price a listing

The price table the discount reduces.