shopify-checkout-extensions

Build Shopify Checkout UI extensions and WebAssembly Functions for custom checkout logic.

3|1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill shopify-checkout-extensions-tomtoto757
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: shopify-checkout-extensions
Source: https://github.com/tomtoto757/ecomm-ai-team/tree/main/skills/platform-integrations-infrastructure/finsilabs/platform-shopify/shopify-checkout-extensions
Command: npx skills add https://github.com/tomtoto757/ecomm-ai-team --skill shopify-checkout-extensions-tomtoto757

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @shopify/ui-extensions-react/checkout.

What problem does it solve? Native Shopify checkout customization is limited, and the deprecated checkout.liquid approach no longer works for many stores. This Skill guides you through building Checkout UI extensions for custom checkout blocks and Shopify Functions for serverless discount, shipping, and payment logic. ## Core Features & Use Cases - Checkout UI Extensions: Render upsell blocks, gift message fields, and trust badges inside checkout using @shopify/ui-extensions-react/checkout with merchant-configurable settings. - Shopify Functions: Implement tiered volume discounts, payment method hiding, and shipping customization as WebAssembly modules running inside Shopify's infrastructure. - Use Case: A B2B supplier needs automatic quantity-based discounts (5% off 5+ units, 10% off 10+ units). Use this Skill to scaffold a discount Function, configure its TOML, deploy it, and activate it from Admin → Discounts. ## Quick Start Use the shopify-checkout-extensions skill to create a checkout upsell UI extension with a merchant-configurable product variant setting.

Frequently Asked Questions about shopify-checkout-extensions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a custom upsell block to Shopify checkout?▼

Create a Checkout UI extension with the Shopify CLI, register it against the purchase.checkout.block.render target, and use useApplyCartLinesChange to add the upsell variant. Merchants can then place the block anywhere via the checkout editor.

How to create a Shopify Function for quantity-based discounts?▼

Write a run() function that sums cart line quantities, maps them to discount tiers, and returns a FunctionRunResult with a discounts array and discountApplicationStrategy. Compile it to WebAssembly and activate it from Admin → Discounts after deploying.

Can Shopify Functions make network calls at runtime?▼

No, Shopify Functions cannot perform network I/O and must execute within a strict time limit of about 5ms. Pass configuration through Function input variables or metafields instead of fetching data externally.

Why is my checkout UI extension not appearing in the checkout editor?▼

The extension must be deployed with shopify app deploy before it appears in Admin → Checkout → Customize. Also verify the correct checkout template is selected and the target in shopify.extension.toml matches the reactExtension target.

Can I use browser APIs like localStorage in checkout extensions?▼

No, checkout UI extensions run in a sandboxed Worker without DOM access, so document, window, and localStorage are unavailable. Persist checkout data with useApplyMetafieldsChange and read it back with useMetafield.