DivanteLtd / magento2-external-checkout

The project is now maintained by VENDIC: https://github.com/Vendic/magento2-external-checkout
https://github.com/Vendic/magento2-external-checkout
MIT License
11 stars 24 forks source link

Magento Cart changes wont be synced back to vue-storefront #9

Open andre-meier opened 6 years ago

andre-meier commented 6 years ago

When the user changes or deletes cart items on magento side, currently these changes wont be synced back to vue-storefront when the user decides to go back to the "main"-side (which is using vue-storefront). This can be reproduced in the magento2-external-checkout-demo (https://demo-magento-checkout.vuestorefront.io/).

After I posted a question about whether or not this is intentional, @pkarw asked me to open an issue.

His thoughts from slack:

as far as I remember our Magento External Chceckout Plugin copies the products from VS-Magento cart to the current user/current session cart the solution will be to modify https://github.com/DivanteLtd/magento2-external-checkout to not COPY but to re-bind the cart used in VS to the current session / current user OR to override the Vue Storefront cart id (not recommended)