{"action":"opened","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/9071","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9071/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9071/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/9071/events","html_url":"https://github.com/woothemes/woocommerce/issues/9071","id":105242897,"number":9071,"title":"The cart is empty","user":{"login":"kevin25","id":2909982,"avatar_url":"https://avatars.githubusercontent.com/u/2909982?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin25","html_url":"https://github.com/kevin25","followers_url":"https://api.github.com/users/kevin25/followers","following_url":"https://api.github.com/users/kevin25/following{/other_user}","gists_url":"https://api.github.com/users/kevin25/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin25/subscriptions","organizations_url":"https://api.github.com/users/kevin25/orgs","repos_url":"https://api.github.com/users/kevin25/repos","events_url":"https://api.github.com/users/kevin25/events{/privacy}","received_events_url":"https://api.github.com/users/kevin25/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-07T16:18:18Z","updated_at":"2015-09-07T16:18:18Z","closed_at":null,"body":"I used varnish for my Wooecommerce. The cart is empty whenever i add anything. I tried to disable ajax request but no luck. Here are my exeptions:\r\n\r\n    ### REMOVE IT IF YOU DO NOT USE WOOCOMMERCE ###\r\n    if (req.url ~ \"/(cart|my-account|checkout|addons|/?(add-to-cart=|added-to-cart=))\") {\r\n            return (pass);\r\n    }\r\n    if (req.url ~ \"/product/*$\") {\r\n            return (pass);\r\n    }\r\n\r\n     if ( req.url ~ \"/?add-to-cart=\" ) {\r\n             return (pass);\r\n     }\r\n    if (req.http.X-Requested-With == \"XMLHttpRequest\") {\r\n            return(pass);\r\n    }"}}