Skip to content

Trial: online shop

  • shop channel linked to the site;
  • 12 products with images, 3 categories, variants on 2 products;
  • stock and shipping with free threshold.

Shop: Products, Categories, Channels. Site: linked site settings. Inventory: stock.

GET /shop/products, GET /shop/products/<slug>, POST /shop/carts, cart lines, GET /shop/shipping/quote, POST /shop/carts/<token>/checkout. OpenAPI: GET /shop/openapi.json. See Site API.

npx rivil add shop. Theme: npx rivil theme lumen. Alternative: Casa Lumen.

  1. “Add the shop block and show the first category page.”
  2. “Product page reads price and stock only from the API.”
  3. “Cart with token and refresh on quantity change.”
  4. “Checkout in test mode; clear message if live payment is blocked.”
  5. “Purge product cache on shop.changed webhook.”

Live payment processors, SMS, e-Factura. Checkout in test mode only.

Online store.