{"action":"created","issue":{"url":"https://api.github.com/repos/OM4/WooCommerce-Product-Restrictions/issues/4","repository_url":"https://api.github.com/repos/OM4/WooCommerce-Product-Restrictions","labels_url":"https://api.github.com/repos/OM4/WooCommerce-Product-Restrictions/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/OM4/WooCommerce-Product-Restrictions/issues/4/comments","events_url":"https://api.github.com/repos/OM4/WooCommerce-Product-Restrictions/issues/4/events","html_url":"https://github.com/OM4/WooCommerce-Product-Restrictions/pull/4","id":446402214,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgwNjExNzM3","number":4,"title":"Disable Proceed to Checkout button","user":{"login":"om4csaba","id":45931795,"node_id":"MDQ6VXNlcjQ1OTMxNzk1","avatar_url":"https://avatars2.githubusercontent.com/u/45931795?v=4","gravatar_id":"","url":"https://api.github.com/users/om4csaba","html_url":"https://github.com/om4csaba","followers_url":"https://api.github.com/users/om4csaba/followers","following_url":"https://api.github.com/users/om4csaba/following{/other_user}","gists_url":"https://api.github.com/users/om4csaba/gists{/gist_id}","starred_url":"https://api.github.com/users/om4csaba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/om4csaba/subscriptions","organizations_url":"https://api.github.com/users/om4csaba/orgs","repos_url":"https://api.github.com/users/om4csaba/repos","events_url":"https://api.github.com/users/om4csaba/events{/privacy}","received_events_url":"https://api.github.com/users/om4csaba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-05-21T03:40:33Z","updated_at":"2019-05-29T02:29:36Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/OM4/WooCommerce-Product-Restrictions/pulls/4","html_url":"https://github.com/OM4/WooCommerce-Product-Restrictions/pull/4","diff_url":"https://github.com/OM4/WooCommerce-Product-Restrictions/pull/4.diff","patch_url":"https://github.com/OM4/WooCommerce-Product-Restrictions/pull/4.patch"},"body":"Sincere attempt to remove the button from the cart page.\r\n\r\nFix #1 "},"comment":{"url":"https://api.github.com/repos/OM4/WooCommerce-Product-Restrictions/issues/comments/496759364","html_url":"https://github.com/OM4/WooCommerce-Product-Restrictions/pull/4#issuecomment-496759364","issue_url":"https://api.github.com/repos/OM4/WooCommerce-Product-Restrictions/issues/4","id":496759364,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5Njc1OTM2NA==","user":{"login":"om4james","id":108233,"node_id":"MDQ6VXNlcjEwODIzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/108233?v=4","gravatar_id":"","url":"https://api.github.com/users/om4james","html_url":"https://github.com/om4james","followers_url":"https://api.github.com/users/om4james/followers","following_url":"https://api.github.com/users/om4james/following{/other_user}","gists_url":"https://api.github.com/users/om4james/gists{/gist_id}","starred_url":"https://api.github.com/users/om4james/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/om4james/subscriptions","organizations_url":"https://api.github.com/users/om4james/orgs","repos_url":"https://api.github.com/users/om4james/repos","events_url":"https://api.github.com/users/om4james/events{/privacy}","received_events_url":"https://api.github.com/users/om4james/received_events","type":"User","site_admin":false},"created_at":"2019-05-29T02:29:36Z","updated_at":"2019-05-29T02:29:36Z","author_association":"MEMBER","body":"As discussed, there is an issue with the implementation in this PR.\r\n\r\nWhen visiting the cart page where the restriction criteria isn't met, the red message is shown and the cart totals and proceed button aren't shown.\r\n\r\nHowever after changing your cart quantities so that the criteria of the restrictions are met, the cart totals and proceed to checkout don't show until you refresh the cart page.\r\n\r\nSo we need to come up with a solution to disable/enable those via AJAX rather than on page load."}}
{"actor":{"display_login":"om4james"}}