{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/11758","repository_url":"https://api.github.com/repos/woothemes/woocommerce","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11758/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11758/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11758/events","html_url":"https://github.com/woothemes/woocommerce/pull/11758","id":172861088,"number":11758,"title":"Fix: Return pre-WC 2.6 behavior indicating a non-free shipping method is free","user":{"login":"bekarice","id":4983547,"avatar_url":"https://avatars.githubusercontent.com/u/4983547?v=3","gravatar_id":"","url":"https://api.github.com/users/bekarice","html_url":"https://github.com/bekarice","followers_url":"https://api.github.com/users/bekarice/followers","following_url":"https://api.github.com/users/bekarice/following{/other_user}","gists_url":"https://api.github.com/users/bekarice/gists{/gist_id}","starred_url":"https://api.github.com/users/bekarice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bekarice/subscriptions","organizations_url":"https://api.github.com/users/bekarice/orgs","repos_url":"https://api.github.com/users/bekarice/repos","events_url":"https://api.github.com/users/bekarice/events{/privacy}","received_events_url":"https://api.github.com/users/bekarice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-24T04:17:35Z","updated_at":"2016-08-25T17:23:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/woothemes/woocommerce/pulls/11758","html_url":"https://github.com/woothemes/woocommerce/pull/11758","diff_url":"https://github.com/woothemes/woocommerce/pull/11758.diff","patch_url":"https://github.com/woothemes/woocommerce/pull/11758.patch"},"body":"In previous versions of WooCommerce, a $0 shipping method would be explicitly labeled \"Free\" in the cart and at checkout: https://github.com/woothemes/woocommerce/blob/2.5.5/includes/wc-cart-functions.php#L303-L305\r\n\r\nHowever, with WC 2.6+, there's no longer handling for a $0 method:\r\nhttps://github.com/woothemes/woocommerce/blob/efd390e9510d168ae730b05504225aa21b2a99cc/includes/wc-cart-functions.php#L328-L351\r\n\r\nTo see this in action: Set up a shipping method with $0 cost. Add the cost to the \"No shipping class\" rate instead, and $0 for a \"free shipping\" class rate: http://cloud.skyver.ge/2d3p451k0G1c\r\n\r\nWhen the product is in the \"Free Shipping\" class and shipping is $0, the method is still listed as \"US Ground\" instead of \"US Ground (Free)\" (previous behavior).\r\n\r\nThis commit re-introduces the previous behavior of adding the \"Free\" indicator for non-`free_shipping` methods that are $0. ([See comment here](https://www.sellwithwp.com/beginners-guide-woocommerce-shipping-zones/#comment-342412))\r\n"},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/242471454","html_url":"https://github.com/woothemes/woocommerce/pull/11758#issuecomment-242471454","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11758","id":242471454,"user":{"login":"bekarice","id":4983547,"avatar_url":"https://avatars.githubusercontent.com/u/4983547?v=3","gravatar_id":"","url":"https://api.github.com/users/bekarice","html_url":"https://github.com/bekarice","followers_url":"https://api.github.com/users/bekarice/followers","following_url":"https://api.github.com/users/bekarice/following{/other_user}","gists_url":"https://api.github.com/users/bekarice/gists{/gist_id}","starred_url":"https://api.github.com/users/bekarice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bekarice/subscriptions","organizations_url":"https://api.github.com/users/bekarice/orgs","repos_url":"https://api.github.com/users/bekarice/repos","events_url":"https://api.github.com/users/bekarice/events{/privacy}","received_events_url":"https://api.github.com/users/bekarice/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T17:23:17Z","updated_at":"2016-08-25T17:23:17Z","body":"@mikejolley Yep, I think I wrote a couple of those 😂 \r\n\r\nFind with me if you want to boot, you have more insight into support here, and either way I suppose custom code would be needed, so majority should win 👍 "}}
{"actor":{"display_login":"bekarice"}}