Delivering Headless Commerce
summary
Commerce Guys builds a Commerce Cart API and a Commerce Cart Flyout reference implementation that let JavaScript front ends add items and show carts against Drupal Commerce; demos use GraphQL for catalog queries and GatsbyJS for a static front end, while JSON API in core works but lacks mixed‑bundle collection and Search API integration. A bespoke cart token header solves CORS and anonymous cart linking. Coupon validation runs via Symfony/Drupal constraints and computed base fields expose subtotal and adjustments for headless checkout work in progress.
AI-written summary · about
chapters (15)
- 0:00Intro
- 0:30Headless Commerce
- 6:52Catalog areas of concern
- 12:40GraphQL & Search API
- 15:15Product display page areas of concern
- 20:04Add to cart form areas of concern
- 24:49Cart management areas of concern
- 25:17Cart API: Cart Operations
- 25:51Cart API: Cart Tokens
- 26:55JSON API
- 28:17Coupons
- 29:36Checkout over the API
- 30:29What's next? (in progress)
- 31:37What's next? (in development)
- 32:49Questions?
