{"id":18,"date":"2022-09-08T08:52:01","date_gmt":"2022-09-08T00:52:01","guid":{"rendered":"https:\/\/zocraft.m2.imagint.co\/?page_id=18"},"modified":"2025-06-19T10:24:33","modified_gmt":"2025-06-19T02:24:33","slug":"cart","status":"publish","type":"page","link":"https:\/\/zocraft.co\/ms\/cart\/","title":{"rendered":"Cart"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"18\" class=\"elementor elementor-18\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-10c9d54a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"10c9d54a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c89023c\" data-id=\"c89023c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0180a00 elementor-widget elementor-widget-html\" data-id=\"0180a00\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!-- Agreement Checkbox -->\n<div id=\"workshop-agreement\" style=\"display: none;\">\n  <label style=\"    display: flex;    align-items: flex-start;    gap: 10px;    padding: 15px;    background: #f9f9f9;    border: 1px solid #ccc;    border-radius: 8px;    font-family: 'Noto Serif TC', serif;    font-size: 16px;    line-height: 1.6;    color: #333;    margin-top: 30px;  \">\n    <input type=\"checkbox\" id=\"agree-workshop\" style=\"margin-top: 5px;\">\n    <span>I agree to the <a href=\"https:\/\/zocraft.co\/ms\/terms-faq\/\" target=\"_blank\" style=\"color: #0073aa; text-decoration: underline;\">Terms & Conditions<\/a> before completing checkout.<\/span>\n  <\/label>\n<\/div>\n\n\n\n\n<script>\n  document.addEventListener('DOMContentLoaded', function () {\n    const workshopAgreement = document.getElementById('workshop-agreement');\n    const agreeCheckbox = document.getElementById('agree-workshop');\n    const checkoutButton = document.querySelector('.checkout-button');\n\n    const keywords = ['ring workshop', 'rings workshop'];\n    const cartItems = document.querySelectorAll('.product-name');\n    let foundWorkshop = false;\n\n    cartItems.forEach(item => {\n      const name = item.textContent.toLowerCase();\n      keywords.forEach(keyword => {\n        if (name.includes(keyword)) {\n          foundWorkshop = true;\n        }\n      });\n    });\n\n    if (foundWorkshop && workshopAgreement && agreeCheckbox && checkoutButton) {\n      workshopAgreement.style.display = 'block';\n\n      \/\/ Disable link visually\n      checkoutButton.style.pointerEvents = 'auto'; \/\/ allow click but control it manually\n      checkoutButton.style.opacity = '0.5';\n\n      \/\/ Prevent click unless checkbox is checked\n      checkoutButton.addEventListener('click', function (e) {\n        if (!agreeCheckbox.checked) {\n          e.preventDefault(); \/\/ stop the link\n          alert('Please agree to the Terms & Conditions before proceeding.');\n        }\n      });\n\n      \/\/ Restore visual when checkbox is checked\n      agreeCheckbox.addEventListener('change', function () {\n        checkoutButton.style.opacity = this.checked ? '1' : '0.5';\n      });\n    }\n  });\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3f00ca1b animated-slow elementor-invisible elementor-widget elementor-widget-text-editor\" data-id=\"3f00ca1b\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;_animation&quot;:&quot;fadeIn&quot;}\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"woocommerce\">\n<div class=\"woocommerce-notices-wrapper\"><\/div>\n<div class=\"wc-empty-cart-message\">\n<div class=\"cart-empty woocommerce-info\" role=\"status\">\n\t\tTroli anda kosong pada masa ini.\t<\/div>\n<\/div>\n<p class=\"return-to-shop\">\n\t\t<a class=\"button wc-backward\" href=\"https:\/\/zocraft.co\/ms\/shop\/\"><br \/>\n\t\t\tKembali ke kedai\t\t<\/a>\n\t<\/p>\n<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>I agree to the Terms &#038; Conditions before completing checkout.<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-18","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cart - Customized Couple Valentine Gifts<\/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:\/\/zocraft.co\/ms\/cart\/\" \/>\n<meta property=\"og:locale\" content=\"ms_MY\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cart - Customized Couple Valentine Gifts\" \/>\n<meta property=\"og:description\" content=\"I agree to the Terms &#038; Conditions before completing checkout.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zocraft.co\/ms\/cart\/\" \/>\n<meta property=\"og:site_name\" content=\"Customized Couple Valentine Gifts\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-19T02:24:33+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minit\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zocraft.co\/cart\/\",\"url\":\"https:\/\/zocraft.co\/cart\/\",\"name\":\"Cart - Customized Couple Valentine Gifts\",\"isPartOf\":{\"@id\":\"https:\/\/zocraft.co\/#website\"},\"datePublished\":\"2022-09-08T00:52:01+00:00\",\"dateModified\":\"2025-06-19T02:24:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/zocraft.co\/cart\/#breadcrumb\"},\"inLanguage\":\"ms-MY\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zocraft.co\/cart\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zocraft.co\/cart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zocraft.co\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cart\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zocraft.co\/#website\",\"url\":\"https:\/\/zocraft.co\/\",\"name\":\"ZOCRAFT\",\"description\":\"Personalized Anniversary Gifts &amp; Birthday Gifts By ZOCRAFT\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zocraft.co\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ms-MY\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cart - Customized Couple Valentine Gifts","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:\/\/zocraft.co\/ms\/cart\/","og_locale":"ms_MY","og_type":"article","og_title":"Cart - Customized Couple Valentine Gifts","og_description":"I agree to the Terms &#038; Conditions before completing checkout.","og_url":"https:\/\/zocraft.co\/ms\/cart\/","og_site_name":"Customized Couple Valentine Gifts","article_modified_time":"2025-06-19T02:24:33+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minit"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zocraft.co\/cart\/","url":"https:\/\/zocraft.co\/cart\/","name":"Cart - Customized Couple Valentine Gifts","isPartOf":{"@id":"https:\/\/zocraft.co\/#website"},"datePublished":"2022-09-08T00:52:01+00:00","dateModified":"2025-06-19T02:24:33+00:00","breadcrumb":{"@id":"https:\/\/zocraft.co\/cart\/#breadcrumb"},"inLanguage":"ms-MY","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zocraft.co\/cart\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zocraft.co\/cart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zocraft.co\/"},{"@type":"ListItem","position":2,"name":"Cart"}]},{"@type":"WebSite","@id":"https:\/\/zocraft.co\/#website","url":"https:\/\/zocraft.co\/","name":"ZOCRAFT","description":"Personalized Anniversary Gifts &amp; Birthday Gifts By ZOCRAFT","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zocraft.co\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ms-MY"}]}},"_links":{"self":[{"href":"https:\/\/zocraft.co\/ms\/wp-json\/wp\/v2\/pages\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zocraft.co\/ms\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/zocraft.co\/ms\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/zocraft.co\/ms\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zocraft.co\/ms\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"https:\/\/zocraft.co\/ms\/wp-json\/wp\/v2\/pages\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/zocraft.co\/ms\/wp-json\/wp\/v2\/media?parent=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}