Checkout Block

The checkout block is the Croissant surface inside Shopify checkout. It requires Shopify Plus — Plus is the only plan Shopify allows apps to add UI to checkout on. On Plus, it is also the surface that applies the discounts, so treat adding it as required, not optional.

Info
Not on Plus, or want reach beyond checkout? The cart and cart-drawer theme blocks work on every plan — see Theme Blocks.

Adding It

  1. Go to Settings → Checkout and click Customize on the checkout profile used by your store.
  2. In the checkout editor, choose Add app block and add Pay with Croissant Card. It defaults to the first wallet position.
  3. Drag the block to the intended position, select it to open its settings, and click Save.
  4. Test the checkout profile assigned to the storefront. Editing an inactive draft profile does not change the buyer experience.
Shopify checkout editor showing the Pay with Croissant Card block and its settings
Select Pay with Croissant Card in the checkout editor to configure its layout, button, offer, modal, and border settings.

States

It renders four states, with no work on your part:

  • Default — the Croissant button, with offer copy beneath it when the shopper qualifies.
  • Authorized — a confirmation banner with the rewards earned. When a balance is still due after the Croissant discounts, it instead prompts the shopper to reauthorize for more credit, which is also what they see if they edited the cart after authorizing.
  • Gift card applied — an explanatory notice instead of the button.
  • Hidden — while loading or voiding, outside USD, or when the integration is not live.

Settings

The checkout editor shows these fields empty, not pre-filled. Empty means the default in the last column.

SettingOptionsDefault
Display Variantdefault (full block), simple_button (button only)default
Button Typeprimary, secondary, plain — Shopify's native checkout button stylesprimary
Button TextFree textRedeem Croissant Credit
Supporting Link TextOptional free text shown below the button. The link and adjacent info icon open the Croissant explainer modalempty — hidden
Button Logofilled_dark, filled_light, transparent_light, transparent_darkfilled_dark
Show Button LogoBoolean — off gives a text-only buttonOn
Info Modal Variantsteps (3-step explainer), covers (compact paragraph)steps
Hide OfferBoolean — suppresses the incentive lineOff
Show BorderBoolean — border, background, and padding around the blockOn

The editor shows the fields empty, so the effective configuration of a freshly placed block is:

json
{
  "display_variant": "default",
  "button_kind": "primary",
  "button_text": "Redeem Croissant Credit",
  "supporting_link_text": "",
  "logo_style": "filled_dark",
  "show_logo": true,
  "info_modal_variant": "steps",
  "hide_offer": false,
  "show_border": true
}

Two interactions between settings are worth knowing:

  • Hide Offer hides the default offer and its info icon. A configured Supporting Link Text remains visible and keeps a route to the explainer modal.
  • simple_button ignores Show Border. It renders only the button by default. Configure Supporting Link Text to add a link and info icon beneath it without restoring the full offer block.

Styling It

There is no CSS in checkout — Shopify renders app blocks in a sandboxed frame and no app can inject a stylesheet. The upside is that the Croissant button is a native Shopify checkout button, so your checkout brand settings already reach it. Button Type is how you make Croissant subordinate to your Pay now button. Anything beyond that has to be built into the extension — see Customizing & Styling.

Warning
Placing the block does not, by itself, put a Croissant button in front of shoppers. It also stays hidden until Croissant switches your integration live — see Going Live.

Next: Theme Blocks → cart and cart-drawer placement on any plan