Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malfunction of notes (wishlist) when cookie consent is missing #2597

Open
mitelg opened this issue Sep 20, 2023 · 0 comments
Open

Malfunction of notes (wishlist) when cookie consent is missing #2597

mitelg opened this issue Sep 20, 2023 · 0 comments

Comments

@mitelg
Copy link
Contributor

mitelg commented Sep 20, 2023

Description:

Adding articles to notes (wishlist) seems to work from user perspective (even gets confirmation article has been added), however when opening the list it is all empty. This happens when the user has not consented to the "notes" cookie in the cookie consent manager.

Steps to reproduce:

  1. Open cookie consent manager in front end and uncheck the "Merkzettel" (Notes) cookie, then save.
  2. Now go to listing and click the heart icon to add article to notes
  3. Note the counter on the notes in the header increases
  4. Now open the notes and notice the list is all empty

I've tested several demo and live shops that run on top of Shopware 5, and they all showed this misbehaviour.

Expected result:

Users are always confused when this happens and never realize they need to consent to the notes cookie for the notes functionality to work properly. So in case the consent has not been given, the user should be informed about this and either be prompted to consent directly in that notice, or be redirected to the cookie consent manager. Another solution would be to move the notes cookie from COMFORT to the TECHNICAL cookie group, however this might not be GDPR compliant.

Actual result:

The article briefly gets added, however when the consent is missing the corresponding cookie sUniqueID is immediately deleted again and thus the functionality breaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant