Loading...
Loading...
Guide for building and managing Shopify Extensions (Admin, Checkout, Theme, Post-purchase, etc.) using the latest Shopify CLI and APIs.
npx skill4agent add toilahuongg/shopify-agents-kit shopify-extensionsnpm install -g @shopify/cli@latestshopify.extension.toml[[extensions]]
type = "ui_extension"
name = "product-action"
handle = "product-action"
[[extensions.targeting]]
target = "admin.product-details.action.render"
module = "./src/ActionExtension.jsx"[[extensions]]
type = "ui_extension"
name = "checkout-banner"
handle = "checkout-banner"
[[extensions.targeting]]
target = "purchase.checkout.block.render"
module = "./src/CheckoutBanner.jsx"shopify app generate extensionshopify app generate extensionshopify app generate extension --name "my-extension" --template <template_type> --flavor <flavor>--name--templatecheckout_uiproduct_subscriptiontheme_app_extension--flavorreacttypescriptvanilla-jsshopify app generate extension --template checkout_ui --name "checkout-upsell" --flavor reactshopify app generate extension --template theme_app_extension --name "trust-badges"shopify app generate extension --template product_discounts --name "volume-discount" --flavor rust--client-id <value>--path <path>--resetshopify app generate extensionshopify.extension.tomlshopify app devshopify app deployuseApi()