You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce the behavior:
I have installed vanilla Woocommerce with Storefront theme and this plugin with wp-graphql.
When I click add to cart the product is added to the cart and page refreshed with correct items in cart. However on page load there is an ajax call /?wc-ajax=get_refreshed_fragments. Response from that cart clears cart_hash cookie and returns 0 products in cart.
This does not happen when plugin is deactivated.
Screenshots
The text was updated successfully, but these errors were encountered:
The is most likely due to the QL_Session_Handler. Sounds like it's preventing the woocommerce session cookie from being updated property. This is definitely a bug, since the QL_Session_Handler shouldn't be used on non-GraphQL request. I'm not too familiar with the wc-ajax action, I'll have to look into it. 🤔
Steps to reproduce the behavior:
I have installed vanilla Woocommerce with Storefront theme and this plugin with wp-graphql.
When I click add to cart the product is added to the cart and page refreshed with correct items in cart. However on page load there is an ajax call
/?wc-ajax=get_refreshed_fragments
. Response from that cart clears cart_hash cookie and returns 0 products in cart.This does not happen when plugin is deactivated.
Screenshots
![Screenshot 2019-09-25 at 08 12 35](https://user-images.githubusercontent.com/9489687/65573980-7857e900-df6c-11e9-9f9f-87bab283401d.png)
The text was updated successfully, but these errors were encountered: