{"id":60543,"date":"2026-06-15T17:52:15","date_gmt":"2026-06-15T10:52:15","guid":{"rendered":"https:\/\/www.hikmat.co.id\/?page_id=60543"},"modified":"2026-06-15T18:00:44","modified_gmt":"2026-06-15T11:00:44","slug":"login","status":"publish","type":"page","link":"https:\/\/www.hikmat.co.id\/en\/login\/","title":{"rendered":"Login"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"60543\" class=\"elementor elementor-60543\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0891180 e-flex e-con-boxed e-con e-parent\" data-id=\"0891180\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ed97ef6 elementor-widget elementor-widget-shortcode\" data-id=\"ed97ef6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">        <div class=\"hikmat-member-login\" data-ajax-url=\"https:\/\/www.hikmat.co.id\/wp-admin\/admin-ajax.php\" data-nonce=\"aa9b78c42d\" data-redirect=\"https:\/\/www.hikmat.co.id\/en\/\" data-signup-url=\"\">\n            <div class=\"hikmat-member-notice\" style=\"display:none;\"><\/div>\n\n            <div class=\"hikmat-member-step hikmat-member-step-phone\">\n                <label for=\"hikmat_login_phone\"><strong>Phone Number<\/strong><\/label>\n                <input type=\"tel\" id=\"hikmat_login_phone\" name=\"phone_number\" placeholder=\"081234567890\" autocomplete=\"tel\" required>\n                <button type=\"button\" class=\"button hikmat-login-send-otp\">Send OTP<\/button>\n                <p class=\"description\">Testing mode: gunakan OTP <strong>123456<\/strong>.<\/p>\n            <\/div>\n\n            <div class=\"hikmat-member-step hikmat-member-step-otp\" style=\"display:none;\">\n                <label for=\"hikmat_login_otp\"><strong>OTP<\/strong><\/label>\n                <input type=\"text\" id=\"hikmat_login_otp\" name=\"otp\" inputmode=\"numeric\" maxlength=\"6\" placeholder=\"123456\" required>\n                <button type=\"button\" class=\"button button-primary hikmat-login-verify-otp\">Login<\/button>\n                <button type=\"button\" class=\"button hikmat-login-back\">Change Phone<\/button>\n            <\/div>\n        <\/div>\n\n        <script>\n        (function(){\n            const root = document.currentScript.previousElementSibling;\n            if (!root) return;\n\n            const ajaxUrl = root.dataset.ajaxUrl;\n            const nonce = root.dataset.nonce;\n            const redirect = root.dataset.redirect;\n            const signupUrl = root.dataset.signupUrl;\n            const notice = root.querySelector('.hikmat-member-notice');\n            const phoneStep = root.querySelector('.hikmat-member-step-phone');\n            const otpStep = root.querySelector('.hikmat-member-step-otp');\n            const phoneInput = root.querySelector('#hikmat_login_phone');\n            const otpInput = root.querySelector('#hikmat_login_otp');\n            let currentPhone = '';\n\n            function showNotice(message, type) {\n                notice.innerHTML = message;\n                notice.style.display = 'block';\n                notice.style.padding = '10px 12px';\n                notice.style.marginBottom = '12px';\n                notice.style.border = '1px solid';\n                notice.style.borderColor = type === 'error' ? '#cc1818' : '#2271b1';\n                notice.style.background = type === 'error' ? '#fff2f2' : '#f0f6fc';\n            }\n\n            async function post(data) {\n                const body = new URLSearchParams(data);\n                const res = await fetch(ajaxUrl, {\n                    method: 'POST',\n                    credentials: 'same-origin',\n                    headers: {'Content-Type': 'application\/x-www-form-urlencoded'},\n                    body\n                });\n                return await res.json();\n            }\n\n            root.querySelector('.hikmat-login-send-otp').addEventListener('click', async function(){\n                const phone = phoneInput.value.trim();\n                if (!phone) return showNotice('Phone number wajib diisi.', 'error');\n                this.disabled = true;\n                try {\n                    const json = await post({\n                        action: 'hikmat_member_login_request_phone_otp',\n                        nonce,\n                        phone_number: phone\n                    });\n                    if (!json.success) {\n                        let msg = json.data && json.data.message ? json.data.message : 'Gagal membuat OTP.';\n                        if (json.data && json.data.needs_signup && signupUrl) {\n                            msg += '<br><a href=\"' + signupUrl + '\">Aktivasi \/ daftar member di sini<\/a>';\n                        }\n                        throw new Error(msg);\n                    }\n                    currentPhone = json.data.phone_number;\n                    phoneStep.style.display = 'none';\n                    otpStep.style.display = 'block';\n                    showNotice(json.data.message, 'success');\n                } catch(e) {\n                    showNotice(e.message, 'error');\n                } finally {\n                    this.disabled = false;\n                }\n            });\n\n            root.querySelector('.hikmat-login-verify-otp').addEventListener('click', async function(){\n                const otp = otpInput.value.trim();\n                if (!otp) return showNotice('OTP wajib diisi.', 'error');\n                this.disabled = true;\n                try {\n                    const json = await post({\n                        action: 'hikmat_member_login_verify_phone_otp',\n                        nonce,\n                        phone_number: currentPhone || phoneInput.value.trim(),\n                        otp\n                    });\n                    if (!json.success) throw new Error(json.data && json.data.message ? json.data.message : 'Login gagal.');\n                    showNotice(json.data.message, 'success');\n                    window.location.href = json.data.redirect || redirect;\n                } catch(e) {\n                    showNotice(e.message, 'error');\n                } finally {\n                    this.disabled = false;\n                }\n            });\n\n            root.querySelector('.hikmat-login-back').addEventListener('click', function(){\n                otpStep.style.display = 'none';\n                phoneStep.style.display = 'block';\n                notice.style.display = 'none';\n                currentPhone = '';\n                otpInput.value = '';\n            });\n        })();\n        <\/script>\n        <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","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,"footnotes":""},"class_list":["post-60543","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Login | HIKMAT\u00ae Luxury Modest Fashion<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hikmat.co.id\/en\/login\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Login | HIKMAT\u00ae Luxury Modest Fashion\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hikmat.co.id\/en\/login\/\" \/>\n<meta property=\"og:site_name\" content=\"HIKMAT\u00ae Luxury Modest Fashion\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/hikmatfashionofficial\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-15T11:00:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hikmat.co.id\/wp-content\/uploads\/2025\/01\/Thumbnail-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/login\\\/\",\"url\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/login\\\/\",\"name\":\"Login | HIKMAT\u00ae Luxury Modest Fashion\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/#website\"},\"datePublished\":\"2026-06-15T10:52:15+00:00\",\"dateModified\":\"2026-06-15T11:00:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/login\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/login\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/login\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Login\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/\",\"name\":\"HIKMAT\",\"description\":\"Classy with Modesty\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/#organization\"},\"alternateName\":\"Hikmat\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/#organization\",\"name\":\"PT Hikmat Moda Indonesia\",\"alternateName\":\"HIKMAT\",\"url\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hikmat.co.id\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Logo-Hikmat.webp\",\"contentUrl\":\"https:\\\/\\\/www.hikmat.co.id\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Logo-Hikmat.webp\",\"width\":1430,\"height\":1449,\"caption\":\"PT Hikmat Moda Indonesia\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hikmat.co.id\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/web.facebook.com\\\/hikmatfashionofficial\",\"https:\\\/\\\/www.instagram.com\\\/hikmatfashion\",\"https:\\\/\\\/www.tiktok.com\\\/@hikmat.fashion\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Login | HIKMAT\u00ae Luxury Modest Fashion","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hikmat.co.id\/en\/login\/","og_locale":"en_US","og_type":"article","og_title":"Login | HIKMAT\u00ae Luxury Modest Fashion","og_url":"https:\/\/www.hikmat.co.id\/en\/login\/","og_site_name":"HIKMAT\u00ae Luxury Modest Fashion","article_publisher":"https:\/\/web.facebook.com\/hikmatfashionofficial","article_modified_time":"2026-06-15T11:00:44+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.hikmat.co.id\/wp-content\/uploads\/2025\/01\/Thumbnail-1.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hikmat.co.id\/en\/login\/","url":"https:\/\/www.hikmat.co.id\/en\/login\/","name":"Login | HIKMAT\u00ae Luxury Modest Fashion","isPartOf":{"@id":"https:\/\/www.hikmat.co.id\/en\/#website"},"datePublished":"2026-06-15T10:52:15+00:00","dateModified":"2026-06-15T11:00:44+00:00","breadcrumb":{"@id":"https:\/\/www.hikmat.co.id\/en\/login\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hikmat.co.id\/en\/login\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hikmat.co.id\/en\/login\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hikmat.co.id\/en\/home\/"},{"@type":"ListItem","position":2,"name":"Login"}]},{"@type":"WebSite","@id":"https:\/\/www.hikmat.co.id\/en\/#website","url":"https:\/\/www.hikmat.co.id\/en\/","name":"HIKMAT","description":"Classy with Modesty","publisher":{"@id":"https:\/\/www.hikmat.co.id\/en\/#organization"},"alternateName":"Hikmat","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hikmat.co.id\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hikmat.co.id\/en\/#organization","name":"PT Hikmat Moda Indonesia","alternateName":"HIKMAT","url":"https:\/\/www.hikmat.co.id\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hikmat.co.id\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.hikmat.co.id\/wp-content\/uploads\/2024\/05\/Logo-Hikmat.webp","contentUrl":"https:\/\/www.hikmat.co.id\/wp-content\/uploads\/2024\/05\/Logo-Hikmat.webp","width":1430,"height":1449,"caption":"PT Hikmat Moda Indonesia"},"image":{"@id":"https:\/\/www.hikmat.co.id\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/web.facebook.com\/hikmatfashionofficial","https:\/\/www.instagram.com\/hikmatfashion","https:\/\/www.tiktok.com\/@hikmat.fashion"]}]}},"_links":{"self":[{"href":"https:\/\/www.hikmat.co.id\/en\/wp-json\/wp\/v2\/pages\/60543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hikmat.co.id\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hikmat.co.id\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hikmat.co.id\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hikmat.co.id\/en\/wp-json\/wp\/v2\/comments?post=60543"}],"version-history":[{"count":10,"href":"https:\/\/www.hikmat.co.id\/en\/wp-json\/wp\/v2\/pages\/60543\/revisions"}],"predecessor-version":[{"id":60556,"href":"https:\/\/www.hikmat.co.id\/en\/wp-json\/wp\/v2\/pages\/60543\/revisions\/60556"}],"wp:attachment":[{"href":"https:\/\/www.hikmat.co.id\/en\/wp-json\/wp\/v2\/media?parent=60543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}