Shop pack: a product catalog with checkout links #12

Merged
jcoffey-dev merged 1 commits from packs/shop into main 2026-10-12 00:30:45 +00:00
Owner

A shop pack: a product catalog for small shops, without a cart.

  • A page per product: photos, price, summary, details, options, and Buy buttons that open the payment provider's own checkout (Stripe Payment Links handle quantity, shipping address, tax and receipts).
  • A shop page at /products/ and a Products section for any page; sold_out: true swaps the buttons for "Sold out".
  • schema.org Product data (price, currency, availability).
  • money template function for prices.

A cart (several items, one checkout) needs the forms endpoint to create checkout sessions; that's a separate decision. Tested in the bundled-packs test (pages, buttons, data) and looked at in Chrome.

A **shop** pack: a product catalog for small shops, without a cart. - A page per product: photos, price, summary, details, options, and Buy buttons that open the payment provider's own checkout (Stripe Payment Links handle quantity, shipping address, tax and receipts). - A shop page at /products/ and a Products section for any page; `sold_out: true` swaps the buttons for "Sold out". - schema.org Product data (price, currency, availability). - `money` template function for prices. A cart (several items, one checkout) needs the forms endpoint to create checkout sessions; that's a separate decision. Tested in the bundled-packs test (pages, buttons, data) and looked at in Chrome.
jcoffey-dev added 1 commit 2026-10-12 00:29:09 +00:00
Shop pack: a product catalog with checkout links
ci / editor-ui (pull_request) Successful in 25s
ci / go (pull_request) Successful in 1m34s
f34c3e2ec5
Products with photos, a price, options and a Buy button that opens the payment provider's own checkout (Stripe Payment Links, PayPal, Square). No cart, no card details on the site, no script. Product data for search engines (price, currency, in stock or sold out), and a money template function: 24 "USD" is $24.00, 9 "SEK" is 9.00 SEK.
jcoffey-dev merged commit 1b2d0ef02b into main 2026-10-12 00:30:45 +00:00
jcoffey-dev deleted branch packs/shop 2026-10-12 00:30:45 +00:00
Sign in to join this conversation.