{"action":"created","issue":{"url":"https://api.github.com/repos/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil/issues/15","labels_url":"https://api.github.com/repos/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil/issues/15/comments","events_url":"https://api.github.com/repos/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil/issues/15/events","html_url":"https://github.com/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil/issues/15","id":124626844,"number":15,"title":"Desativar campos Bairro e Número no plugin","user":{"login":"dnet5","id":3988029,"avatar_url":"https://avatars.githubusercontent.com/u/3988029?v=3","gravatar_id":"","url":"https://api.github.com/users/dnet5","html_url":"https://github.com/dnet5","followers_url":"https://api.github.com/users/dnet5/followers","following_url":"https://api.github.com/users/dnet5/following{/other_user}","gists_url":"https://api.github.com/users/dnet5/gists{/gist_id}","starred_url":"https://api.github.com/users/dnet5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnet5/subscriptions","organizations_url":"https://api.github.com/users/dnet5/orgs","repos_url":"https://api.github.com/users/dnet5/repos","events_url":"https://api.github.com/users/dnet5/events{/privacy}","received_events_url":"https://api.github.com/users/dnet5/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-03T03:40:58Z","updated_at":"2016-01-04T14:50:15Z","closed_at":"2016-01-04T12:51:18Z","body":"Olá, Cláudio.\r\n\r\nPesquisei nos tópicos do wordpress, principalmente no post https://wordpress.org/support/topic/remover-campos-obrigatorios?replies=8, mas não encontrei resposta para esta questão. Como posso desativar estes dois campos?\r\n\r\nDei uma olhada no plugin class-wc-ecfb-front-end.php e vi que há referências ao neighborhood nas linhas 54, 59, 290, 291, 292, 293, 447, 448, 449, 450, 540, 557, 572, 587 e 603 e ao number em 53, 58, 274, 275, 276, 277, 431, 432, 433, 434, 540, 556, 571, 586 e 602.\r\nÉ no front end que eu desabilito mesmo?\r\n\r\nNão sou programador e tenho muito pouco conhecimento em programação, mas pelo que vi nas linhas 57, 58 e 59 esses campos aparecerem porque estão na categoria shipping e não billing, estou certo? Se houver alguma maneira de desabilitar esse shipping diretamente, acredito que seja até mais fácil.\r\n\r\nInformo que não estou usando meios de pagamento no site (utilizo o Pay on Contact), então posso desabilitar estes campos tranquilamente, acredito eu.\r\n\r\nPoderia me ajudar?\r\n\r\nMuito obrigado!"},"comment":{"url":"https://api.github.com/repos/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil/issues/comments/168696506","html_url":"https://github.com/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil/issues/15#issuecomment-168696506","issue_url":"https://api.github.com/repos/claudiosmweb/woocommerce-extra-checkout-fields-for-brazil/issues/15","id":168696506,"user":{"login":"dnet5","id":3988029,"avatar_url":"https://avatars.githubusercontent.com/u/3988029?v=3","gravatar_id":"","url":"https://api.github.com/users/dnet5","html_url":"https://github.com/dnet5","followers_url":"https://api.github.com/users/dnet5/followers","following_url":"https://api.github.com/users/dnet5/following{/other_user}","gists_url":"https://api.github.com/users/dnet5/gists{/gist_id}","starred_url":"https://api.github.com/users/dnet5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnet5/subscriptions","organizations_url":"https://api.github.com/users/dnet5/orgs","repos_url":"https://api.github.com/users/dnet5/repos","events_url":"https://api.github.com/users/dnet5/events{/privacy}","received_events_url":"https://api.github.com/users/dnet5/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T14:50:15Z","updated_at":"2016-01-04T14:50:15Z","body":"Ok. Obrigado! "}}