Hello, headless commerce

"Headless" means the storefront (the part customers see) is separate from the commerce engine (catalog, payment, orders). Here the storefront is static HTML generated by Eleventy, and the commerce engine is whatever you connect: a Shopify store, Stripe, or your own endpoint.

Why static

Static pages are fast, cheap to host and hard to break. The cart runs in the browser, so it works on any host.

What you connect

Pick a checkout provider in src/_data/store.json. See the docs folder for each option.