{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/8524","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8524/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8524/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8524/events","html_url":"https://github.com/woothemes/woocommerce/issues/8524","id":93377452,"number":8524,"title":"Woo kills $_POST","user":{"login":"efes-s","id":13208168,"avatar_url":"https://avatars.githubusercontent.com/u/13208168?v=3","gravatar_id":"","url":"https://api.github.com/users/efes-s","html_url":"https://github.com/efes-s","followers_url":"https://api.github.com/users/efes-s/followers","following_url":"https://api.github.com/users/efes-s/following{/other_user}","gists_url":"https://api.github.com/users/efes-s/gists{/gist_id}","starred_url":"https://api.github.com/users/efes-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efes-s/subscriptions","organizations_url":"https://api.github.com/users/efes-s/orgs","repos_url":"https://api.github.com/users/efes-s/repos","events_url":"https://api.github.com/users/efes-s/events{/privacy}","received_events_url":"https://api.github.com/users/efes-s/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-06T21:05:41Z","updated_at":"2015-07-06T21:56:56Z","closed_at":"2015-07-06T21:56:56Z","body":"I try to use custom parameters for my needs in Product.\r\n\r\nBut...\r\nPlease, add to Cart Test product here:\r\nhttp://test17.tested-ok.ru/?product=test-product\r\nand view Cart\r\nhttp://test17.tested-ok.ru/?page_id=8\r\n\r\nHere you can see standart Cart page and $_POST variable.\r\nDo you see $_POST['cart']['blablabla']['qty'] ?\r\nIt's OK. These are Quantity field name and value. When I use my fields we could see its name and value in $_POST too.\r\n\r\nBut now...\r\n\r\nIf we change Test product Quantity and update Cart, we couldn't see nor Quantity nor any fields in $_POST.\r\n\r\nYou see that any time when we change quantity and update cart.\r\n\r\nThis is V4.2 Wordpress and V2.3.11 Woocommerce"},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/119008381","html_url":"https://github.com/woothemes/woocommerce/issues/8524#issuecomment-119008381","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8524","id":119008381,"user":{"login":"mikejolley","id":90977,"avatar_url":"https://avatars.githubusercontent.com/u/90977?v=3","gravatar_id":"","url":"https://api.github.com/users/mikejolley","html_url":"https://github.com/mikejolley","followers_url":"https://api.github.com/users/mikejolley/followers","following_url":"https://api.github.com/users/mikejolley/following{/other_user}","gists_url":"https://api.github.com/users/mikejolley/gists{/gist_id}","starred_url":"https://api.github.com/users/mikejolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikejolley/subscriptions","organizations_url":"https://api.github.com/users/mikejolley/orgs","repos_url":"https://api.github.com/users/mikejolley/repos","events_url":"https://api.github.com/users/mikejolley/events{/privacy}","received_events_url":"https://api.github.com/users/mikejolley/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T21:56:56Z","updated_at":"2015-07-06T21:56:56Z","body":"It does not 'kill $_POST' - there is a redirect back to the referring page after the cart is updated. So when you're back at the page, the POST data is no longer there. This is to stop people refreshing and resubmitting the form. https://github.com/woothemes/woocommerce/blob/5d4ea2433d8b1c2c12e95e10ea5fafb5eda84999/includes/class-wc-form-handler.php#L460"}}