• Resolved stanvdb

    (@stanvdb)


    Hi there,

    I get the following error in the console after adding or removing a product inside the cart using the quantity switcher. Then the quantity switcher stops working because of this. Any idea what is going on?
    I already tried disabling everything except woocommerce, and cleared all cache etc.

    Hope someone can help me.
    Best regards,
    Stan

    Cookie “woocommerce_cart_hash” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite cart

    Cookie “woocommerce_cart_hash” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Saif

    (@babylon1999)

    Hello @stanvdb,

    I get the following error in the console after adding or removing a product inside the cart using the quantity switcher. Then the quantity switcher stops working because of this. Any idea what is going on?
    I already tried disabling everything except woocommerce, and cleared all cache etc.

    I can see a similar issue was discussed here and it seems to be server related.

    I recommend creating a staging environment with another hosting provider or localhost like LocalWP to make sure that’s not the case. You can check this guide on how to move a live site to a localhost.

    It’s also worth switching your theme to Storefront temporarily and asking your host to disable any forced cache or optimization plugins.

    Let us know how it goes.

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with samesite cookies?’ is closed to new replies.