Magento2 Rest API & PWA.

Using PWA I want to allow the user to compare products. I added the product to comparison programmatically.

I am facing 2 issues

  1. For Guest User, how do I stop the user from adding the same product to compare, if that product already is in compare list

  2. How am I supposed to transfer the compare products from Guest User to login user?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.