Help

How to show shoppers' codes in checkout (Shopify Plus)

On Shopify Plus, add the Nudgesmart codes block to checkout so shoppers see every code they won and the best one for their basket stays applied.

The shopper who reaches checkout and can't remember their code is one tab away from leaving. On Shopify Plus, their codes can wait for them right under the discount field.

TL;DR

In Shopify, go to Settings → Checkout and click Customize. Click Add app block, choose Nudgesmart codes and place it under the discount field. Click Save. It shows each shopper the codes they won from your popups and keeps the best one for their basket applied.

What the block does

On Shopify Plus, a checkout block lists every code from the set and keeps the best one the basket qualifies for applied. It's made for popups that give a set of codes, one per spend level. See Give several codes by spend.

Under the heading Your codes, each code shows its label, such as "$20 off orders $250+", and where it stands:

  • Applied: this code is on the order.
  • Spend $X more: the basket isn't big enough yet.
  • A bigger code is applied: a better code is already on.

Each code has a Copy button, and Apply best code applies the best one for the basket. A line under the codes reminds shoppers the codes work with the email they used in the popup.

The block never removes a code the shopper typed that didn't come from Nudgesmart.

Step 1 · Open the checkout editor

In your Shopify admin, go to Settings → Checkout and click Customize.

Step 2 · Add the block

Click Add app block and choose Nudgesmart codes. Drag it under the discount code field.

Step 3 · Set the wording and save

If you like, change the block's Heading and Helper line. Then click Save.

Test it: win one of your popups in a private window, add products to your cart and go to checkout. The block should show your codes and apply the best one.

When the block only shows codes

Some checkouts can't change discounts from a block, so it lists the codes without applying them:

  • Express wallets, such as Apple Pay.
  • A checkout in a different currency from your store's.

With Buy it now, the block shows nothing.

Common pitfalls

  • I can't find "Add app block". Your store isn't on Shopify Plus. The block can only be added on Plus.
  • The block is empty. It only shows codes a shopper won from one of your popups. Win a popup first, using the same email you check out with.
  • A code shows "Spend $X more". The basket is under that code's minimum spend. Add to the basket and it updates.