Shopify checkout UI extensions: add a message, a field or an offer to checkout

Topic
Development
Published
Reading time
8 min read
Written by
Binaery

Shopify checkout UI extensions are how a developer adds something of your own to checkout: a message above the shipping methods, a field, an offer in the order summary. On the information, shipping and payment steps they're for Shopify Plus stores only. On the thank you and order status pages, any plan from Basic up can use them.

This is for the developer on your team, or the founder deciding whether to ask for one. By the end you'll know what an extension is, where it can sit, what the code looks like today, and the cases where you don't need one at all.

The short version

  • An extension is a small piece of interface that lives in an app and shows up inside checkout, in places Shopify allows.
  • Extensions on the information, shipping and payment steps need Shopify Plus. Extensions on the thank you and order status pages work on Basic and up.
  • Your team places a block extension in the checkout and accounts editor, the same way they'd place a section in a theme.
  • It's built from Shopify's own components, so it looks like the rest of checkout.
  • Before you build one, check whether Shopify's free Checkout Blocks app, or the custom fields Shopify has announced, already does the job.

Here's a whole extension's interface. A message about free shipping, written with two of Shopify's components:

const Extension = () => (
  <s-banner heading="Free shipping over $75" tone="info">
    <s-text>Add a little more to qualify.</s-text>
  </s-banner>
);

The banner is Shopify's component for a message that needs noticing, and the text sits inside it. Nobody writes colors or spacing. The banner takes checkout's own style.

What an extension is, and where it lives

Checkout isn't part of your theme, so there's no template to edit. Shopify's docs describe checkout UI extensions as the way to add custom interface and logic to the steps of checkout, with examples like a personal message during cart review or a survey on the thank you page.

An extension always belongs to an app. That can be a public app from the Shopify App Store or a custom app built for your store. Once the app is installed, the extension appears in the checkout and accounts editor, and somebody on your team switches it on and decides where it goes.

That last part matters for who does what. The developer builds the piece. Your team decides whether it's above the contact details or under the order summary, and can move it later without a developer.

Which plans can use them

From Shopify's page on checkout apps and plans, read on November 21, 2026:

Where the extension shows Basic and up Shopify Plus
Thank you and order status pages Yes Yes
Customer account pages Yes Yes
Information, shipping and payment steps No Yes

If you're not on Shopify Plus, the nearest options are the thank you page, the cart in your theme, and Shopify's free Checkout Blocks app, which works on lower plans with some features held back. Our article on what you can change in checkout on each plan goes through those.

Where an extension can sit

A developer chooses a target, which is Shopify's word for a place in checkout. The targets reference describes three kinds.

  • Block targets can go wherever your team puts them in the editor. Use one when the content isn't tied to a particular part of checkout. Up to three extensions can share the same spot.
  • Static targets sit at a fixed place, right before or after a core part of checkout such as the contact details, the shipping methods or the items in the order summary. If that part isn't shown, the extension isn't either. A note about a shipping delay belongs next to the shipping methods, so it's static.
  • Runnable targets show nothing. They supply data, such as address suggestions while a customer types.

The target is declared in the extension's configuration file:

[[extensions.targeting]]
target = "purchase.checkout.block.render"
module = "./Checkout.jsx"

That says: this is a block the merchant can place, and its code is in the file named on the last line.

The code, in full

A developer starts inside an app with shopify app generate extension --template checkout_ui, which creates the configuration file and a starter code file. Here's the free shipping message again, this time reading the real subtotal and hiding itself once the shopper has qualified:

import '@shopify/ui-extensions/preact';
import {render} from 'preact';

export default function extension() {
  render(<Extension />, document.body);
}

function Extension() {
  const subtotal = shopify.cost.subtotalAmount.value;
  const left = 75 - subtotal.amount;
  if (left <= 0) return null;
  return (
    <s-banner heading="Free shipping over $75" tone="info">
      <s-text>You're ${left.toFixed(2)} away.</s-text>
    </s-banner>
  );
}

The first lines are the same in every extension. The part that's yours starts at function Extension: read the subtotal from Shopify, work out what's left, show nothing if the shopper is already there, and otherwise show the banner with the amount. Every name in it is checked against Shopify's reference as it stood today. A real one would read the threshold from a setting, so your team can change $75 without a release.

What an extension can read and change

When an extension runs, Shopify gives it an object called shopify with the checkout's data on it. The docs give two examples: the buyer's identity, and the cost breakdown we used above.

Some of those tools change things. The reference names two: one sets a cart attribute and one writes a cart metafield. That's how a field in an extension saves what the customer typed onto the order.

There's a limit worth knowing. Shopify may rate limit an extension that makes too many changes during one checkout, and once that happens it can't make any more in that session. Save a value when the customer finishes a field, not on every keystroke.

When you don't need one

An extension is software in an app, and it needs somebody to own it. Three cheaper routes first.

  • Custom fields built into checkout. Shopify has announced them, to arrive after Black Friday and Cyber Monday. Delivery instructions and a gift message will be on every plan, and the other field types on Plus. If the thing you want is a field, wait and use those.
  • Checkout Blocks. Shopify's own free app adds common blocks to checkout without any code of yours.
  • The cart. The page before checkout is your theme, on any plan. A message or a question there costs a few lines.

A worked example: three things one store might add

Say you sell skincare on Shopify Plus and you've listed three wishes for checkout.

  1. A line about delivery before the holidays. It belongs beside the shipping methods, so it's a static target there, with a banner. It's the example above with different words. Small.
  2. A gift message. Don't build it. It's one of the two built in fields Shopify has announced for every plan. Ask for it in the cart until then.
  3. One add on in the order summary. Shopify's help center uses this as its own example of a checkout app: an upsell placed in the order summary. This is a block target, and it's the largest of the three, because it has to choose a product and add it to the order.

For the third, the design question is the same in checkout as on a product page. Here's a buy box we designed for a skincare device brand. Under the add to cart button there's one small row that asks "Need a wand?" and offers one product with one Add button. One relevant thing, one tap, and nothing that looks like an advert. In checkout that restraint matters more, because the shopper has a card in their hand.

Subscribe and save on the product page, as designed Skincare device brand Subscribe and save on the product page, as designed

What an extension won't do

  • Restyle checkout. Extensions use Shopify's components. Colors, fonts and the logo are set in the editor, and finer control is a separate branding API on Plus.
  • Appear everywhere by itself. A static extension disappears when its part of checkout does. Store pickup has no shipping methods, so nothing attached to them shows.
  • Fix a checkout people leave for other reasons. A surprise shipping cost is still a surprise with a banner above it.
  • Run itself. Shopify updates the extension framework, and somebody has to keep the app current. Ask who that is before you build.

Before you ask for a checkout extension

  1. Confirm your plan, and which step the extension is for.
  2. Check whether a built in field, Checkout Blocks or the cart already covers it.
  3. Write what it shows, when it shows, and what it saves to the order.
  4. Decide whether your team should be able to move it. If so, it's a block target.
  5. Ask for its wording and numbers to be settings.
  6. Test it on a development store, at each place it can be put, on a phone.
  7. Duplicate your checkout configuration before you publish it.

Common questions

Do I need Shopify Plus for checkout UI extensions?

For the information, shipping and payment steps of checkout, yes. Shopify's developer docs say checkout UI extensions on those steps are available only to stores on a Shopify Plus plan. Extensions on the thank you and order status pages, and on customer account pages, can be used on the Basic plan or higher.

What is a checkout UI extension?

A checkout UI extension is a small piece of interface, built by a developer inside an app, that Shopify shows within checkout. It can display a message, a field or an offer at a set place or a place the merchant chooses. It's built from Shopify's own components, so it matches the rest of checkout.

Can I edit the Shopify checkout code directly?

No. Checkout isn't part of your theme. Its look is set in the checkout and accounts editor, and new content is added with apps and checkout UI extensions that Shopify renders in defined places. On Shopify Plus, extensions can be added to the information, shipping and payment steps.

How do merchants add a checkout extension to checkout?

After the app is installed, open Settings, then Checkout, and edit the checkout configuration. The extension appears among the app blocks in the checkout and accounts editor. A block extension can be placed at different points in checkout and moved later, and up to three can share the same spot.

Next step

Write one sentence for each thing you want checkout to do, then sort the list into three piles: a built in field, the cart, or an extension. Most lists end up with one item in the last pile. If yours has one, we build checkout extensions and the apps they live in. Send us the sentence and we'll say what it takes.

Keep reading.

Rather have us do it?

Everything in this article is something we do for a living. Tell us about the store and what you're trying to move.

Get a quote