Hi Sylius devs!
I plan to use Sylius with a pre-rendered static frontend website. I’m currently thinking of how to implement this in a good way, mainly the Cart workflow, user adding products in his cart.
Where would you store the cart items?
On the client/browser in the localStorage/sessionStorage referencing some product id?
Or would it be better to always call some “/cart/items” endpoint via Ajax to add new items and load the cart items from the server-side? Or even store these cart items in the JWT token itself?
What are your recommendations?
Thanks for your help!