How to set up the Shipping Protection block
In short
Shipping Protection adds an opt-in checkbox that puts your protection product in the cart. The fee is that product's price, and the block is on the Deluxe plan only.
Category
Conversion Boosters
Plan
Deluxe only
Where it shows
Shopify checkout
Setup
No code, ~5 minutes
✓ Applies to
- Deluxe plan only (not on Advanced)
- Shopify Plus checkout
- Any checkout position: body, after the header, or around the delivery address
✕ Doesn't apply to
- Filing or paying claims. The block sells a product; you handle claims yourself
- Thank-you and order status pages
Deluxe plan only. The block sells a product you create. It doesn’t insure anything, so you handle claims yourself.
Set it up
Create the protection product
In Shopify → Products, add a product called Shipping Protection. Set the price to your fee. Make it Active and on the Online Store. Turn off inventory tracking, mark it Not a physical product, and use one variant.
Add the block and pick the product
In Checkout Ninja, go to Blocks → Create New Block → Start Fresh. Add Shipping Protection, then select your product under Protection Product.
Change the text (optional)
Under Content Settings, choose Custom Content to write your own. Put {price} in the header to show the fee.
Save and place it
Click Done, then Save. Copy the Block ID and paste it into a Custom Block in the checkout editor. See how.
Check it works
Open your checkout and tick the box. The product appears in the order summary and the total goes up. Untick it and the line is removed.
Good to know
- The fee is a normal product line, so taxes and discounts apply to it like any product.
- One fixed price. It can’t be a percentage of the cart.
- Tag the line for your fulfilment app with Custom Line Item Attributes, like
_protection_type=shipping.
Not working?
- Block missing: pick a Protection Product and make sure it’s active, in stock (or not tracked) and on the Online Store. Full checklist.
- Wrong price: the block uses the product’s first variant. Use one variant.
- Discount code lowers the fee: limit the discount to certain collections.
Want to see this block in a live checkout first? See examples and use cases →
Frequently asked
Where does the shipping protection price come from? +
From the product you select as the Protection Product. Change the product's price in Shopify and the block shows the new price. {price} in the header text is replaced with it.
Does Checkout Ninja insure the shipment? +
No. The block sells a product you define. How you honour claims, whether yourself or through an insurer, is up to your store.
Can I tag the protection line item so my fulfilment app can find it? +
Yes. Use Custom Line Item Attributes to add key/value pairs, such as _protection_type = shipping, to the cart line when a buyer opts in.
Why doesn't the block show at all? +
It hides itself when no Protection Product is selected, or when that product isn't available for sale, for example when it's out of stock, a draft, or not published to the Online Store.