{"id":4670,"date":"2025-04-28T00:56:58","date_gmt":"2025-04-28T00:56:58","guid":{"rendered":"https:\/\/julaweb.com\/?page_id=4670"},"modified":"2025-05-26T15:27:49","modified_gmt":"2025-05-26T15:27:49","slug":"cart-woocomerce","status":"publish","type":"page","link":"https:\/\/julaweb.com\/es\/cart-woocomerce\/","title":{"rendered":"cart-woocomerce"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"4670\" class=\"elementor elementor-4670\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a1380cd e-flex e-con-boxed e-con e-parent\" data-id=\"a1380cd\" 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-747a748 elementor-hidden-desktop elementor-widget elementor-widget-heading\" data-id=\"747a748\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Carrito<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4245e4b elementor-widget elementor-widget-html\" data-id=\"4245e4b\" 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<script>\r\ndocument.addEventListener('DOMContentLoaded', function () {\r\n  \/\/ Select all WooCommerce remove buttons in cart\r\n  const removeLinks = document.querySelectorAll('td.product-remove a.remove');\r\n\r\n  removeLinks.forEach(link => {\r\n    \/\/ Check if we already added the text to avoid duplication\r\n    if (!link.querySelector('.remove-text')) {\r\n      const span = document.createElement('span');\r\n      span.className = 'remove-text';\r\n      span.textContent = ' Remove product'; \/\/ Space before text\r\n      link.appendChild(span);\r\n    }\r\n  });\r\n});\r\n<\/script>\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<div class=\"elementor-element elementor-element-a878cfa e-flex e-con-boxed e-con e-parent\" data-id=\"a878cfa\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-014bed7 e-flex e-con-boxed e-con e-parent\" data-id=\"014bed7\" 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-543b53f elementor-widget elementor-widget-html\" data-id=\"543b53f\" 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<script>\r\ndocument.addEventListener(\"DOMContentLoaded\", function () {\r\n  const input = document.getElementById(\"coupon_code\");\r\n  const button = document.querySelector(\".e-apply-coupon\");\r\n\r\n  function toggleButtonState() {\r\n    if (input.value.trim() === \"\") {\r\n      button.disabled = true;\r\n      button.classList.add(\"disabled\"); \/\/ Optional: for styling\r\n    } else {\r\n      button.disabled = false;\r\n      button.classList.remove(\"disabled\");\r\n    }\r\n  }\r\n\r\n  \/\/ Initial check\r\n  toggleButtonState();\r\n\r\n  \/\/ Check on input change\r\n  input.addEventListener(\"input\", toggleButtonState);\r\n});\r\n<\/script>\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>","protected":false},"excerpt":{"rendered":"<p>Cart Remove item Thumbnail image Product Price Quantity Subtotal &times; Legging &#8211; L, Black &pound;25.00 Legging &#8211; L, Black quantity &pound;25.00 &times; Legging &#8211; M, Blue &pound;25.00 Legging &#8211; M, Blue quantity &pound;50.00 &times; Legging &#8211; M, White &pound;25.00 Legging &#8211; M, White quantity &pound;25.00 &times; Short &#8211; White, M &pound;20.00 Short &#8211; White, M [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-4670","page","type-page","status-publish","hentry"],"acf":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/julaweb.com\/es\/wp-json\/wp\/v2\/pages\/4670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/julaweb.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/julaweb.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/julaweb.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/julaweb.com\/es\/wp-json\/wp\/v2\/comments?post=4670"}],"version-history":[{"count":110,"href":"https:\/\/julaweb.com\/es\/wp-json\/wp\/v2\/pages\/4670\/revisions"}],"predecessor-version":[{"id":6079,"href":"https:\/\/julaweb.com\/es\/wp-json\/wp\/v2\/pages\/4670\/revisions\/6079"}],"wp:attachment":[{"href":"https:\/\/julaweb.com\/es\/wp-json\/wp\/v2\/media?parent=4670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}