aws-samples / retail-demo-store

AWS Retail Demo Store is a sample retail web application and workshop platform demonstrating how AWS infrastructure and services can be used to build compelling customer experiences for eCommerce, retail, and digital marketing use-cases
MIT No Attribution
714 stars 503 forks source link

Cart Issue : Items added to the cart while signed in will be refreshed when you sign out and then sign back in. #576

Open kashinoki38 opened 5 months ago

kashinoki38 commented 5 months ago

Items added to the cart while signed in will be refreshed when you sign out and then sign back in.

Reproduce with the following steps:

  1. Sigin in the User
  2. Put some items in a cart
  3. Sign out User
  4. Sign in same User
  5. See the cart -> there is no items which was put on step2

Cause:

On the step3 (Sign out User), cart will be newly created as guest user. On the step4 newly created cart will be used for signed in user.

Ideal behavior:

On the step4,