{"id":13,"date":"2026-10-07T05:18:29","date_gmt":"2026-10-07T05:18:29","guid":{"rendered":"https:\/\/shop.mellopets.co\/mellopets\/cart\/"},"modified":"2026-10-22T06:50:01","modified_gmt":"2026-10-22T06:50:01","slug":"cart","status":"publish","type":"page","link":"https:\/\/shop.mellopets.co\/mellopets\/cart\/","title":{"rendered":"Cart"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"13\" class=\"elementor elementor-13\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f0dc176 e-flex e-con-boxed e-con e-parent\" data-id=\"f0dc176\" 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-8902480 elementor-widget elementor-widget-html\" data-id=\"8902480\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<script>\r\ndocument.addEventListener('click', function(e) {\r\n  const qtyBox = e.target.closest('.woocommerce-cart td.product-quantity .quantity');\r\n  if (!qtyBox) return;\r\n\r\n  const input = qtyBox.querySelector('input.qty');\r\n  if (!input) return;\r\n\r\n  const rect = qtyBox.getBoundingClientRect();\r\n  const clickX = e.clientX - rect.left;\r\n\r\n  let val = parseFloat(input.value) || 1;\r\n  const step = parseFloat(input.step) || 1;\r\n  const min = input.min !== '' ? parseFloat(input.min) : 1;\r\n  const max = input.max !== '' ? parseFloat(input.max) : Infinity;\r\n\r\n  \/\/ Left side click (-) vs Right side click (+)\r\n  if (clickX < rect.width \/ 2) {\r\n    if (val - step >= min) val -= step;\r\n  } else {\r\n    if (val + step <= max) val += step;\r\n  }\r\n\r\n  input.value = val;\r\n  input.setAttribute('value', val);\r\n  input.dispatchEvent(new Event('change', { bubbles: true }));\r\n\r\n  \/\/ Automatically trigger WooCommerce \"Update cart\" button\r\n  const updateBtn = document.querySelector('button[name=\"update_cart\"], input[name=\"update_cart\"]');\r\n  if (updateBtn) {\r\n    updateBtn.disabled = false;\r\n    updateBtn.removeAttribute('disabled');\r\n    updateBtn.click();\r\n  }\r\n});\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d4a97f5 elementor-widget elementor-widget-html\" data-id=\"d4a97f5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<a href=\"https:\/\/www.mellopets.co\/products.html\" class=\"mello-back-link\">\r\n  <span class=\"mello-back-arrow\">\u2190<\/span> Continue Shopping\r\n<\/a>\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-22087c5 e-flex e-con-boxed e-con e-parent\" data-id=\"22087c5\" 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-560b5bd elementor-widget elementor-widget-heading\" data-id=\"560b5bd\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Cart<\/h1>\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-a7fca37 e-flex e-con-boxed e-con e-parent\" data-id=\"a7fca37\" 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-cd490ee elementor-widget elementor-widget-shortcode\" data-id=\"cd490ee\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div class=\"woocommerce\"><div class=\"woocommerce-notices-wrapper\"><\/div><div class=\"wc-empty-cart-message\">\n\t<div class=\"cart-empty woocommerce-info\" role=\"status\">\n\t\tYour cart is currently empty.\t<\/div>\n<\/div>\t<p class=\"return-to-shop\">\n\t\t<a class=\"button wc-backward\" href=\"https:\/\/shop.mellopets.co\/mellopets\/shop\/\">\n\t\t\tReturn to shop\t\t<\/a>\n\t<\/p>\n<\/div><\/div>\n\t\t\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":"<p>\u2190 Continue Shopping Cart<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-13","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/shop.mellopets.co\/mellopets\/wp-json\/wp\/v2\/pages\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shop.mellopets.co\/mellopets\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/shop.mellopets.co\/mellopets\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/shop.mellopets.co\/mellopets\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shop.mellopets.co\/mellopets\/wp-json\/wp\/v2\/comments?post=13"}],"version-history":[{"count":105,"href":"https:\/\/shop.mellopets.co\/mellopets\/wp-json\/wp\/v2\/pages\/13\/revisions"}],"predecessor-version":[{"id":597,"href":"https:\/\/shop.mellopets.co\/mellopets\/wp-json\/wp\/v2\/pages\/13\/revisions\/597"}],"wp:attachment":[{"href":"https:\/\/shop.mellopets.co\/mellopets\/wp-json\/wp\/v2\/media?parent=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}