I try to add the product into my cart, the ajax cart updated correctly, however when I check the cookies created by this action, I found the cookies were set 2 or 3 times per product with a different path. The first is set with path: /wp-admin, second is set with path: /, and another is set with path: /product/permalink-of-product
The cookie created was abnormal, so sometimes when we add the product into the cart, the cart is empty, how to fix this cookie problem, and bring back to normal? Please your help.
The page I need help with: [log in to see the link]
- The topic ‘Cookies was set 3 times when adding product to cart’ is closed to new replies.