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

OP-149 Add filtering to URLs where wishlist should be created #206

Conversation

PiotrSzymanski2000
Copy link
Contributor

No description provided.

@@ -32,6 +32,9 @@ public function resolve(): string
$wishlistCookieToken = $this->requestStack->getMainRequest()->cookies->get($this->wishlistCookieToken);

if (!$wishlistCookieToken) {
if ($this->requestStack->getMainRequest()->attributes->get('wishlist_cookie_token')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use constants rather than static text.

@oallain
Copy link

oallain commented Sep 22, 2023

Hello @PiotrSzymanski2000 and @senghe ,
I think we should take a little time to finalise this PR, because it's quite quick, but the value of this PR is very high.
Because of this, we can't cache very important pages like the homepage, because there's a cookie.

Regards.

@senghe
Copy link
Member

senghe commented Oct 23, 2023

Hi @oallain, I'm closing the current PR. The topic is continued in #228

@senghe senghe closed this Oct 23, 2023
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

Successfully merging this pull request may close these issues.

3 participants