The Checkout button block is the primary call-to-action in the cart footer that takes shoppers to checkout, giving them a clear, prominent path from the cart to checkout. It’s a required block.
Behavior
- The button resolves a localized, market-correct checkout URL, so shoppers land in the right market’s checkout. If that can’t be resolved, it falls back to the standard
/checkoutlink. - With Go to cart page instead of checkout enabled, the button links to
/cartinstead. - Clicking navigates via JavaScript so a theme’s own cart handling can’t intercept it, while still respecting new-tab intents (Cmd/Ctrl-click, middle-click).
- The click emits the SDK
checkoutevent, which you can subscribe to.
Settings
Placement and limits
- Region: bottom.
- Maximum: 1 per cart state.
- State: filled cart only.
- Locked and added by default. The Checkout button can’t be removed or hidden, only repositioned within the footer.
Custom template
Supports a custom template from its Code tab, which replaces this block’s built-in markup with your JSX. These are the props it receives.
Render
href as-is rather than defaulting it. An <a> with no href is inert, which is the correct behavior in the editor.