{"id":11,"date":"2022-10-20T22:42:52","date_gmt":"2022-10-20T22:42:52","guid":{"rendered":"https:\/\/shop.lincasa.lt\/my-account\/"},"modified":"2023-07-13T11:15:53","modified_gmt":"2023-07-13T11:15:53","slug":"my-account","status":"publish","type":"page","link":"https:\/\/shop.lincasa.lt\/en\/my-account\/","title":{"rendered":"Mano paskyra"},"content":{"rendered":"<div class=\"woocommerce\"><div class=\"woocommerce-notices-wrapper\"><\/div>\n\n<div class=\"u-columns col2-set\" id=\"customer_login\">\n\n\t<div class=\"u-column1 col-1\">\n\n\n\t\t<h2 data-no-translation=\"\" data-trp-gettext=\"\">Login<\/h2>\n\n\t\t<form class=\"woocommerce-form woocommerce-form-login login\" method=\"post\" action=\"\">\n\n\t\t\t\n\t\t\t<p class=\"woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide\">\n\t\t\t\t<label for=\"username\">Username or email address&nbsp;<span class=\"required\" aria-hidden=\"true\">*<\/span><span class=\"screen-reader-text\" data-no-translation=\"\" data-trp-gettext=\"\">Required<\/span><\/label>\n\t\t\t\t<input type=\"text\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"username\" id=\"username\" autocomplete=\"username\" value=\"\" required aria-required=\"true\" \/>\t\t\t<\/p>\n\t\t\t<p class=\"woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide\">\n\t\t\t\t<label for=\"password\">Password&nbsp;<span class=\"required\" aria-hidden=\"true\">*<\/span><span class=\"screen-reader-text\" data-no-translation=\"\" data-trp-gettext=\"\">Required<\/span><\/label>\n\t\t\t\t<input class=\"woocommerce-Input woocommerce-Input--text input-text\" type=\"password\" name=\"password\" id=\"password\" autocomplete=\"current-password\" required aria-required=\"true\" \/>\n\t\t\t<\/p>\n\n\t\t\t\n\t\t\t<p class=\"form-row\">\n\t\t\t\t<label class=\"woocommerce-form__label woocommerce-form__label-for-checkbox woocommerce-form-login__rememberme\">\n\t\t\t\t\t<input class=\"woocommerce-form__input woocommerce-form__input-checkbox\" name=\"rememberme\" type=\"checkbox\" id=\"rememberme\" value=\"forever\" \/> <span data-no-translation=\"\" data-trp-gettext=\"\">Remember me<\/span>\n\t\t\t\t<\/label>\n\t\t\t\t<input type=\"hidden\" id=\"woocommerce-login-nonce\" name=\"woocommerce-login-nonce\" value=\"f611e9f346\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/11\" \/>\t\t\t\t<button type=\"submit\" class=\"woocommerce-button button woocommerce-form-login__submit\" name=\"login\" value=\"Log in\" data-no-translation=\"\" data-trp-gettext=\"\" data-no-translation-value=\"\">Log in<\/button>\n\t\t\t<\/p>\n\t\t\t<p class=\"woocommerce-LostPassword lost_password\">\n\t\t\t\t<a href=\"https:\/\/shop.lincasa.lt\/en\/my-account\/lost-password\/\" data-no-translation=\"\" data-trp-gettext=\"\">Lost your password?<\/a>\n\t\t\t<\/p>\n\n\t\t\t\n\t\t<input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n\n\n\t<\/div>\n\n\t<div class=\"u-column2 col-2\">\n\n\t\t<h2 data-no-translation=\"\" data-trp-gettext=\"\">Register<\/h2>\n\n\t\t<form method=\"post\" class=\"woocommerce-form woocommerce-form-register register\" action=\"\"  >\n\n\t\t\t            <p>\r\n                <label for=\"customer_type\">Type<br \/>\r\n                    <select name=\"customer_type\" id=\"customer_type\" class=\"select\">\r\n                        <option selected value=\"2\">Individual<\/option>\r\n                        <option  value=\"1\">Business<\/option>\r\n                    <\/select>\r\n                <\/label>\r\n            <\/p>\r\n            <div class=\"hide\" id=\"business_type\">\r\n\r\n                <p class=\"form-row validate-required\" id=\"company_name_field\" data-priority=\"\"><label for=\"company_name\" class=\"\">Company name&nbsp;<abbr class=\"required\" title=\"required\" data-no-translation-title=\"\">*<\/abbr><\/label><span class=\"woocommerce-input-wrapper\"><input type=\"text\" class=\"input-text\" name=\"company_name\" id=\"company_name\" placeholder=\"\"  value=\"\" aria-required=\"true\" \/><\/span><\/p><p class=\"form-row validate-required\" id=\"company_vat_code_field\" data-priority=\"\"><label for=\"company_vat_code\" class=\"\">Company vat code&nbsp;<abbr class=\"required\" title=\"required\" data-no-translation-title=\"\">*<\/abbr><\/label><span class=\"woocommerce-input-wrapper\"><input type=\"text\" class=\"input-text\" name=\"company_vat_code\" id=\"company_vat_code\" placeholder=\"\"  value=\"\" aria-required=\"true\" \/><\/span><\/p><p class=\"form-row validate-required\" id=\"company_code_field\" data-priority=\"\"><label for=\"company_code\" class=\"\">Company code&nbsp;<abbr class=\"required\" title=\"required\" data-no-translation-title=\"\">*<\/abbr><\/label><span class=\"woocommerce-input-wrapper\"><input type=\"text\" class=\"input-text\" name=\"company_code\" id=\"company_code\" placeholder=\"\"  value=\"\" aria-required=\"true\" \/><\/span><\/p>\r\n            <\/div>\r\n\r\n\r\n            <div  class=\"\" id=\"invidual_type\">\r\n                <p class=\"form-row validate-required\" id=\"billing_first_name_field\" data-priority=\"\"><label for=\"billing_first_name\" class=\"\">First Name&nbsp;<abbr class=\"required\" title=\"required\" data-no-translation-title=\"\">*<\/abbr><\/label><span class=\"woocommerce-input-wrapper\"><input type=\"text\" class=\"input-text\" name=\"billing_first_name\" id=\"billing_first_name\" placeholder=\"\"  value=\"\" aria-required=\"true\" \/><\/span><\/p><p class=\"form-row validate-required\" id=\"billing_last_name_field\" data-priority=\"\"><label for=\"billing_last_name\" class=\"\">Last name&nbsp;<abbr class=\"required\" title=\"required\" data-no-translation-title=\"\">*<\/abbr><\/label><span class=\"woocommerce-input-wrapper\"><input type=\"text\" class=\"input-text\" name=\"billing_last_name\" id=\"billing_last_name\" placeholder=\"\"  value=\"\" aria-required=\"true\" \/><\/span><\/p>\r\n            <\/div>\r\n\r\n\r\n            <style>\r\n                .hide {\r\n                    display: none;\r\n                }\r\n            <\/style>\r\n\r\n            <script>\r\n\r\n                var customer_type = document.getElementById('customer_type');\r\n\r\n                var business_type = document.getElementById('business_type');\r\n                var invidual_type = document.getElementById('invidual_type');\r\n\r\n                (function($){\r\n                    $('#customer_type').change(function (e) {\r\n                        console.log(customer_type.value)\r\n\r\n                        if(customer_type.value == 1) {\r\n                            invidual_type.classList.add('hide');\r\n                            business_type.classList.remove('hide');\r\n                        } else {\r\n                            invidual_type.classList.remove('hide');\r\n                            business_type.classList.add('hide');\r\n                        }\r\n                    })\r\n                })(jQuery);\r\n\r\n\r\n                if(customer_type) {\r\n                    customer_type.addEventListener(\"change\", function(e) {\r\n                        console.log(customer_type.value)\r\n\r\n                        if(customer_type.value == 1) {\r\n                            invidual_type.classList.add('hide');\r\n                            business_type.classList.remove('hide');\r\n                        } else {\r\n                            invidual_type.classList.remove('hide');\r\n                            business_type.classList.add('hide');\r\n                        }\r\n                    });\r\n                }\r\n\r\n            <\/script>\r\n\r\n            \n\t\t\t\n\t\t\t\t<p class=\"woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide\">\n\t\t\t\t\t<label for=\"reg_username\">Username&nbsp;<span class=\"required\" aria-hidden=\"true\">*<\/span><span class=\"screen-reader-text\" data-no-translation=\"\" data-trp-gettext=\"\">Required<\/span><\/label>\n\t\t\t\t\t<input type=\"text\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"username\" id=\"reg_username\" autocomplete=\"username\" value=\"\" required aria-required=\"true\" \/>\t\t\t\t<\/p>\n\n\t\t\t\n\t\t\t<p class=\"woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide\">\n\t\t\t\t<label for=\"reg_email\">Email address&nbsp;<span class=\"required\" aria-hidden=\"true\">*<\/span><span class=\"screen-reader-text\" data-no-translation=\"\" data-trp-gettext=\"\">Required<\/span><\/label>\n\t\t\t\t<input type=\"email\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"email\" id=\"reg_email\" autocomplete=\"email\" value=\"\" required aria-required=\"true\" \/>\t\t\t<\/p>\n\n\t\t\t\n\t\t\t\t<p class=\"woocommerce-form-row woocommerce-form-row--wide form-row form-row-wide\">\n\t\t\t\t\t<label for=\"reg_password\">Password&nbsp;<span class=\"required\" aria-hidden=\"true\">*<\/span><span class=\"screen-reader-text\" data-no-translation=\"\" data-trp-gettext=\"\">Required<\/span><\/label>\n\t\t\t\t\t<input type=\"password\" class=\"woocommerce-Input woocommerce-Input--text input-text\" name=\"password\" id=\"reg_password\" autocomplete=\"new-password\" required aria-required=\"true\" \/>\n\t\t\t\t<\/p>\n\n\t\t\t\n\t\t\t<wc-order-attribution-inputs><\/wc-order-attribution-inputs><div class=\"woocommerce-privacy-policy-text\"><p>Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our <a href=\"https:\/\/shop.lincasa.lt\/en\/privacy-policy\/\" class=\"woocommerce-privacy-policy-link\" target=\"_blank\" data-no-translation=\"\" data-trp-gettext=\"\">privacy policy<\/a>.<\/p>\n<\/div>\n\t\t\t<p class=\"woocommerce-form-row form-row\">\n\t\t\t\t<input type=\"hidden\" id=\"woocommerce-register-nonce\" name=\"woocommerce-register-nonce\" value=\"06c044038e\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/en\/wp-json\/wp\/v2\/pages\/11\" \/>\t\t\t\t<button type=\"submit\" class=\"woocommerce-Button woocommerce-button button woocommerce-form-register__submit\" name=\"register\" value=\"Register\" data-no-translation=\"\" data-trp-gettext=\"\" data-no-translation-value=\"\">Register<\/button>\n\t\t\t<\/p>\n\n\t\t\t\n\t\t<input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n\n\t<\/div>\n\n<\/div>\n\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-11","page","type-page","status-publish","hentry"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/shop.lincasa.lt\/en\/wp-json\/wp\/v2\/pages\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shop.lincasa.lt\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shop.lincasa.lt\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shop.lincasa.lt\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shop.lincasa.lt\/en\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":1,"href":"https:\/\/shop.lincasa.lt\/en\/wp-json\/wp\/v2\/pages\/11\/revisions"}],"predecessor-version":[{"id":9004,"href":"https:\/\/shop.lincasa.lt\/en\/wp-json\/wp\/v2\/pages\/11\/revisions\/9004"}],"wp:attachment":[{"href":"https:\/\/shop.lincasa.lt\/en\/wp-json\/wp\/v2\/media?parent=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}