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
I am using Apollo's useMutation to add to cart. However on refetch on reload of page the wp_woocommerce_sessions value on my session_key is reset so I end up with { "data": { "cart": { "contents": { "nodes": [], "__typename": "CartToCartItemConnection" }, "appliedCoupons": null, "subtotal": "UGX 0", "subtotalTax": "UGX 0", "shippingTax": "UGX 0", "shippingTotal": "UGX 0", "total": "UGX 0", "totalTax": "UGX 0", "feeTax": "UGX 0", "feeTotal": "UGX 0", "discountTax": "UGX 0", "discountTotal": "UGX 0", "__typename": "Cart" } }.
I am using Apollo's
useMutation
toadd to cart
. However on refetch on reload of page the wp_woocommerce_sessions value on my session_key is reset so I end up with{ "data": { "cart": { "contents": { "nodes": [], "__typename": "CartToCartItemConnection" }, "appliedCoupons": null, "subtotal": "UGX 0", "subtotalTax": "UGX 0", "shippingTax": "UGX 0", "shippingTotal": "UGX 0", "total": "UGX 0", "totalTax": "UGX 0", "feeTax": "UGX 0", "feeTotal": "UGX 0", "discountTax": "UGX 0", "discountTotal": "UGX 0", "__typename": "Cart" } }
.Is my session getting messed up?
Apollo client
Product Add to cart
Plugin Versions
The text was updated successfully, but these errors were encountered: