How to connect an existing customer with a cart created with sales channel API?

Hi Sorin,

as I understand you correctly your workflow would look like the following:

  • Login and filling cart via SalesChannelAPI
  • Calling the Storefront, login the customer and show the cart, which was build before

As you already said, changing the token in the cart table would be enough. Maybe you could somehow provide the old cart token while logging in the customer in the storefront. So you could identify the old cart and set the new token. I think a subscriber would be enough to get this done.

Best regards from Schöppingen

cool Michael Telgmann

1 „Gefällt mir“