{"id":6,"date":"2023-09-04T15:47:46","date_gmt":"2023-09-04T15:47:46","guid":{"rendered":"https:\/\/volivoli.hr\/?page_id=6"},"modified":"2024-05-28T07:08:42","modified_gmt":"2024-05-28T07:08:42","slug":"cart","status":"publish","type":"page","link":"https:\/\/volivoli.hr\/en\/cart\/","title":{"rendered":"Cart"},"content":{"rendered":"<section class=\"bde-section-6-100 bde-section\">\n  \n\t\n\n\n\n<div class=\"section-container\"><h2 class=\"bde-heading-6-102 bde-heading\">\nCart\n<\/h2><div class=\"bde-cart-6-101 bde-cart breakdance-woocommerce\">\n    <div class=\"breakdance-empty-ssr-message breakdance-empty-ssr-message-error\">\n        <div>\n            The <b>\"Cart Page\"<\/b> element can only be added to the <b>WooCommerce Cart Page<\/b>.<br \/><br \/>\n            The <b>WooCommerce Cart Page<\/b> is currently set to <b>\"Cart\" (ID: 6)<\/b>.<br \/><br \/>\n            Set the <b>WooCommerce Cart Page<\/b> in the WP admin at <b>WooCommerce &gt; Settings &gt; Advanced &gt; Page Setup<\/b>.\n    <\/div>\n\n<\/div><div class=\"bde-code-block-6-113 bde-code-block\">\n\n  <script>\ndocument.addEventListener('DOMContentLoaded', function() {\n    \/\/ Define a function to check and modify the labels\n    function modifyLabels() {\n        const labels = document.querySelectorAll('#shipping_method label');\n        labels.forEach(label => {\n            if (label.innerHTML.includes(':')) {\n                \/\/ Replace 'DPD Dostava:' with an empty string to remove it\n                label.innerHTML = label.innerHTML.replace(':', '');\n            }\n        });\n    }\n\n    \/\/ Modify labels on document load\n    modifyLabels();\n\n    \/\/ Add event listener to modify labels on every click as well\n    document.addEventListener('click', modifyLabels);\n});\n\n<\/script>\n\n\n<\/div><div class=\"bde-code-block-6-109 bde-code-block\">\n\n\n\n<\/div><\/div>\n<\/section>","protected":false},"excerpt":{"rendered":"<p>Ko\u0161arica The &#8220;Cart Page&#8221; element can only be added to the WooCommerce Cart Page. The WooCommerce Cart Page is currently set to &#8220;Cart&#8221; (ID: 6). Set the WooCommerce Cart Page in the WP admin at WooCommerce &gt; Settings &gt; Advanced &gt; Page Setup.<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_breakdance_hide_in_design_set":false,"_breakdance_tags":"","footnotes":""},"class_list":["post-6","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/volivoli.hr\/en\/wp-json\/wp\/v2\/pages\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/volivoli.hr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/volivoli.hr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/volivoli.hr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/volivoli.hr\/en\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":43,"href":"https:\/\/volivoli.hr\/en\/wp-json\/wp\/v2\/pages\/6\/revisions"}],"predecessor-version":[{"id":1975,"href":"https:\/\/volivoli.hr\/en\/wp-json\/wp\/v2\/pages\/6\/revisions\/1975"}],"wp:attachment":[{"href":"https:\/\/volivoli.hr\/en\/wp-json\/wp\/v2\/media?parent=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}