Quelle
Catalogue & checkout — found from sitemap — Vendure
Geprüft für Vendure am 3. Nov 2026
- Seite
- https://docs.vendure.io/current/framework/core-concepts/cart
- Geprüft
- 3 Nov 2026, 15:42 UTC
- Wie Sie es nutzen dürfen
- Öffentliche Seite, Crawling erlaubt
Technische Details
- Typ
- page
- HTTP-Status
- 200
- Inhalts-Hash
- sha256:15da2420ed52255247e3d5d900772de9d385a976577af613e40c64e8ae0e679b
- Erlaubnis
- robots_ok
- Screenshot
- Screenshot liegt vor (interner Beleg, nicht veröffentlicht)
Zitiert von
Aus dieser Quelle gelesene Angaben
-
Cart unified with order Fehler melden
“Vendure does not have a separate "Cart" entity. Instead, a cart is simply an Order in the AddingItems state.”
-
Active order limit per session Fehler melden
“Every customer session (whether authenticated or guest) can have at most one active order — the order in the AddingItems state.”
-
Active order strategy Fehler melden
“The active order resolution logic is handled by the ActiveOrderStrategy. The default strategy uses the session to track the active order, but this can be customized for scenarios like named wishlists or saved carts.”
-
Cart mutations Fehler melden
“When a customer calls mutations like addItemToOrder, adjustOrderLine, or removeOrderLine, Vendure automatically finds (or creates) the active order for the current session. There is no need to pass an order ID; the active order is resolved from the session context.”
-
Order line fields Fehler melden
“quantity — How many units of this variant are in the cart. unitPrice / unitPriceWithTax — The per-unit price as determined by the pricing pipeline. linePrice / linePriceWithTax — The total for this line (unit price multiplied by quantity, with adjustments applied). adjustments — Any discounts from promotions that apply to this line.”
-
Duplicate variant behavior Fehler melden
“If a customer adds the same variant twice, Vendure increments the quantity on the existing OrderLine rather than creating a duplicate.”
-
Order interceptors Fehler melden
“Order Interceptors allow custom validation or side-effects to be executed when items are added to or modified in the cart. For example, you could use an interceptor to enforce a maximum quantity per product, validate that items are still in stock, or check business rules before allowing the cart to be modified.”
-
Guest cart behavior Fehler melden
“Guest carts are tied to an anonymous session. If the session expires, the cart is no longer accessible.”
-
Authenticated cart persistence Fehler melden
“Authenticated carts are associated with a Customer account. The customer can log out and return later to find their cart intact.”
-
Cart merge on login Fehler melden
“When a guest customer logs in, Vendure can merge their anonymous cart with any existing cart on their account, ensuring no items are lost during the transition.”
-
Order custom fields during cart Fehler melden
“Since the cart is an Order entity, you can use custom fields to store additional data during the cart phase. For example, gift message text, delivery instructions, or a purchase order number can all be captured as custom fields on the order while the customer is still shopping.”
-
Order state flow Fehler melden
“AddingItems — The cart state. Items can be freely added, removed, or adjusted. ArrangingPayment — The customer has provided shipping details and is ready to pay. Cart modifications are no longer allowed. PaymentSettled / PaymentAuthorized — Payment has been processed.”
-
Checkout transition validation Fehler melden
“The transition from AddingItems to ArrangingPayment enforces validation — the order must have at least one item, a shipping method must be set, and any other custom validation defined by order process plugins must pass.”
Bewertungen, die auf diesen Datensatz verweisen
- B2B-Verkäufer Katalog & Checkout
- Datenschutzbeauftragter Katalog & Checkout
- Entwickler Katalog & Checkout
- Händler Katalog & Checkout
- Händler Steuerliche & rechtliche Korrektheit in Deutschland
- Operations-Leiter Katalog & Checkout
- Operations-Leiter Steuerliche & rechtliche Korrektheit in Deutschland
- Skeptiker Katalog & Checkout