Help us improve
Share bugs, ideas, or general feedback.
From magento2-commerce
Customizes Magento 2 checkout: payment methods via gateway commands, shipping carriers, totals collectors, and KnockoutJS UI. For custom payment/shipping integrations or flow modifications.
npx claudepluginhub orcaqubits/agentic-commerce-skills-plugins --plugin magento2-commerceHow this skill is triggered — by the user, by Claude, or both
Slash command
/magento2-commerce:magento-checkoutThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Fetch live docs**:
Customizes WooCommerce classic (PHP hooks) and block-based (React/Store API) checkouts: add fields, validate, save order meta, extend flows.
Builds Shopify Checkout UI Extensions with Polaris for custom merchant functionality at checkout points like product info, shipping, payment, order summary, Shop Pay. Includes CLI scaffolding.
Builds Shopify checkout UI extensions with Preact/Remote DOM rendering, UI primitives, extension targets, checkout APIs, metafield access, post-purchase extensions, and thank-you page customization. Use for customizing Shopify checkout.
Share bugs, ideas, or general feedback.
Fetch live docs:
site:developer.adobe.com commerce php tutorials frontend custom-checkout for checkout customization tutorialssite:developer.adobe.com commerce php tutorials frontend custom-checkout add-payment-method for payment method tutorialsite:developer.adobe.com commerce php development components checkout for checkout architectureTwo-step checkout built with UI Components + KnockoutJS:
The central data structure during checkout:
Magento\Quote\Model\Quote — the cart/checkout session| Type | Description |
|---|---|
| Gateway | Data passes through Magento to processor (Stripe, Braintree) |
| Offline | No external provider (Check/Money Order, Bank Transfer, COD) |
| Hosted | Redirects to external payment page (PayPal Redirect) |
Magento\Payment\Model\Method\Adapter as a virtual type (recommended). Note: Magento\Payment\Model\Method\AbstractMethod is deprecated; avoid for new payment methods.ConfigProviderInterface, returns JS config for checkoutModern approach (since 2.1) with configurable command chain:
Shipping carriers extend Magento\Shipping\Model\Carrier\AbstractCarrier:
collectRates() — returns available shipping rates for the cartgetAllowedMethods() — returns method code/name pairsconfig.xml (defaults) and system.xml (admin fields)getTrackingInfo()Calculate order totals (subtotal, shipping, tax, discount, grand total):
etc/sales.xmlMagento\Quote\Model\Quote\Address\Total\AbstractTotalcollect() — performs calculation, modifies quote address totalsfetch() — returns the result for displayCollectors run in sequence. Standard order: subtotal → discount → shipping → tax → grand_total. Custom collectors must declare their position relative to existing ones.
Checkout layout is defined in checkout_index_index.xml. Modify via:
LayoutProcessorInterface for dynamic modificationsAdd entire new steps via JavaScript UI components registered in the checkout layout.
Fetch the checkout customization tutorials for exact class signatures, XML configurations, and JS component patterns before implementing.