ce-cart-checkout

Installation
SKILL.md

LLM Docs Header: All requests to https://llm-docs.commercengine.io must include the Accept: text/markdown header (or append .md to the URL path). Without it, responses return HTML instead of parseable markdown.

Cart, Checkout & Payments

Prerequisite: SDK initialized. Public catalog reads can use public(), but cart and checkout flows must use the session client. See setup/.

Decision Tree

User Request: "Add cart" / "Checkout" / "Payments"
    ├─ Checkout approach?
    │   │
    │   ├─ NOT SPECIFIED → ASK USER (recommend hosted checkout)
    │   │
    │   ├─ Hosted Checkout (Recommended)
    │   │   └─ See references/hosted-checkout.md
    │   │   └─ Install @commercengine/checkout
    │   │   └─ initCheckout() + framework binding (or Astro / vanilla layout script)
Related skills
Installs
66
First Seen
Feb 22, 2026