Cart flow
Picture this: A user visits your Sylius shop and exclaims, “Someone’s been using my cart! It’s full of items I didn’t add!” Let’s avoid this surprise by exploring how Sylius handles cart functionality.
In Sylius, the cart represents an order in progress that hasn’t been placed yet.
Each visitor in Sylius has a cart. The cart can be cleared in three ways, by: - placing an order - removing items manually - using a cart-clearing command
The cart flow varies depending on whether the user is logged in and what’s already in the cart.
First scenario:
Second scenario:
Third scenario:
The cart mentioned in the third scenario will be available once the customer logs in again.
Last updated