Add a block to Shopify's checkout editor
In short
Copy your block's Block ID, add a Custom Block in Shopify's checkout editor and paste the ID in. Save the editor. Only blocks set to Active show.
✓ Applies to
- Advanced and Deluxe plans
- Shopify Plus stores (and development stores for testing)
- Four positions: the checkout body, after the header, and before or after the delivery address
✕ Doesn't apply to
- The thank-you and order status pages
- The cart page or your online store theme
Build and save a block
Template or Start Fresh, then Add block.
Copy the Block ID
It appears after the first save.
Add Custom Block, paste the ID
Then Save. The block is live.
Before you start
- Save the block in Checkout Ninja. The Block ID only appears after the first save.
- Your store needs Shopify Plus. A development store works for testing.
Steps
Copy the Block ID
Go to Blocks and open the block. Under Block Details, click the copy button. Keep Status on Active.
Add a Custom Block
Click Open Checkout Editor. Go to where you want the block, click Add app block and choose Custom Block.
Paste the ID and save
Paste the ID into Block ID. Just the number, no spaces. Click Save.
Mark it as done
Back in Checkout Ninja, open the block’s Setup guide. Click Mark as done on Add it to your checkout. The app can’t see the editor, so this is just a note for you.
Where it can go
| Position | Buyers see it |
|---|---|
| Checkout body | Anywhere the editor allows an app block |
| After the header | Just below the header |
| Before the delivery address | Above the address form |
| After the delivery address | Below the address form |
What each position is good for.
Check it works
Open checkout from your store. The block shows where you placed it. Set it to Draft and save: it disappears. Set it back to Active.
Good to know
- Draft hides the block without removing it from the editor.
- Edits you save in the app show in checkout. No need to place it again.
- One Custom Block holds one Block ID. You can paste the same ID into two Custom Blocks.
- Address positions don’t show when there’s no address form, for example store pickup.
Want a heading, badges and payment icons together? Put them all in one saved block and place one Block ID.
Not working?
- “Block not found”: the Block ID box is empty. Paste it and save. More causes.
- Placed but blank: wrong ID, deleted block, or set to Draft. Copy the ID again.
- In the editor but not live: click Save in the editor, then check the block’s conditions. Full checklist.
Frequently asked
Can I put the same block in two places? +
Yes. Add two Custom Block app blocks and paste the same Block ID into both. Each one renders the whole block independently.
Can one Custom Block app block show several Checkout Ninja blocks? +
No. Each Custom Block app block takes one Block ID. To show several saved blocks, add one Custom Block app block per Block ID, or put several block types inside one saved block.
Does the app know where I placed the block? +
No. Checkout Ninja can't see your checkout editor layout. That's why you mark Add it to your checkout as done in the block's setup guide yourself.
Do I have to place the block again after editing it in the app? +
No. The Custom Block app block loads the block by its ID, so changes you save in Checkout Ninja show in checkout without touching the checkout editor again.