TheShop
  • Home
    • TheShop: Headless e-commerce platform with API-first approach
  • GETTING STARTED
    • Quickstart guide
  • frontstore
    • Introduction
      • Types of frontstores
    • API
      • Frontstore API
      • Template customization
    • API client for Laravel
      • Example: Find products by keyword and include sold out products with available attributes to filter
    • Basic selling flow
      • Homepage
      • Product list
      • Product detail
        • Availability and count info in products
        • Add products to cart
        • Variants tree
      • Shopping cart (Basket)
        • Shopping cart list
        • Voucher (discount code)
      • Shipping and payment
      • Checkout
        • Completing order – payment flow
    • Contact form
    • Headless CMS
    • Caching
    • Known Issues
    • FAQ
Powered by GitBook
On this page
  • Shopping cart listing
  • Upsell
  1. frontstore
  2. Basic selling flow
  3. Shopping cart (Basket)

Shopping cart list

PreviousShopping cart (Basket)NextVoucher (discount code)

Last updated 2 years ago

Shopping cart listing

Shopping cart is managed via the the frontstore session. All required information for API should be stored on the frontstore.

returns re-calculated Shopping cart with all available information processed by backend.

Upsell

API can provide product listing for upsell. These products are selected by the lowest price and checked if they are not in the Shopping cart already.

This API call