This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Description
Hey!
I'm evaluating different approaches to include Sylius as a complete-headless or semi-headless e-commerce platform into our technology stack. The "semi-headless" approach would use some of the bigger Sylius SF/Twig frontend modules like the checkout, login, profile etc. while the integration into websites will be done via the API.
One of the user flows works like this:
- User creates a new cart and gets it's unique token value
- User adds items to this cart by using the token value
- User will be redirected to the Sylius checkout page
Is there an already existing way to pass a token value to a special route to set it as the default cart in the user session? I think it would be very easy to create such a controller and set the cart into the cart storage, however I was wondering if there already exists such a functionality and if others would like to have this.