{"product_id":"purple-tongue-monster-plush-slippers","title":"Purple Tongue Monster Plush Slippers","description":"\u003csection id=\"cx-slipper-3-detail\"\u003e\n\u003cp class=\"cx-eyebrow\"\u003eCXACXC · PLAYFUL COMFORT\u003c\/p\u003e\n\u003ch2\u003eA cheeky face for your cosy place.\u003c\/h2\u003e\n\u003cp\u003eDeep-purple plush, bold embroidered expressions and a playful tongue detail turn simple indoor slippers into an eye-catching gift. Soft padding and a lightweight design keep the focus on relaxed comfort around the house.\u003c\/p\u003e\n\u003csection id=\"cx-volume-8694121136172\" class=\"cx-volume-box\" aria-label=\"Build your slipper selection\"\u003e\n\u003ch3\u003eChoose your slippers\u003c\/h3\u003e\n\u003cp\u003eChoose a design and size for each selection, then set the number of pairs.\u003c\/p\u003e\n\u003cdiv data-volume-rows=\"\"\u003e\u003cbr\u003e\u003c\/div\u003e\n\u003cbutton type=\"button\" data-volume-another=\"\" class=\"cx-v-another\"\u003e＋ Add another style \/ size\u003c\/button\u003e\n\n\u003cp data-volume-count=\"\"\u003e \u003c\/p\u003e\n\u003cp class=\"cx-v-total\"\u003e\u003cstrong data-volume-total=\"\"\u003e€9.90\u003c\/strong\u003e \u003c\/p\u003e\n\u003cp data-volume-unit=\"\"\u003e \u003c\/p\u003e\n\n\n\u003cp data-volume-error=\"\" class=\"cx-v-error\" role=\"alert\"\u003e \u003c\/p\u003e\n\u003cbutton type=\"button\" data-volume-add=\"\" class=\"cx-v-add\"\u003eAdd to cart · €9.90\u003c\/button\u003e\n\u003cp class=\"cx-v-note\"\u003eEach quantity is one pair. Your total updates with your selections.\u003c\/p\u003e\n\u003c\/section\u003e\n\u003cdiv class=\"cx-feature-grid\"\u003e\n\u003carticle\u003e\n\u003cfigure\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0746\/8246\/6348\/files\/cxacxc-christmas-slipper-3-02.jpg?v=1794910536\" alt=\"Purple Tongue Monster Plush Slippers — detail 2\" loading=\"lazy\"\u003e\u003c\/figure\u003e\n\u003ch3\u003eMade to make you smile\u003c\/h3\u003e\n\u003cp\u003eExpressive details and a distinctive silhouette bring personality to everyday moments at home.\u003c\/p\u003e\n\u003c\/article\u003e\n\u003carticle\u003e\n\u003cfigure\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0746\/8246\/6348\/files\/cxacxc-christmas-slipper-3-03.jpg?v=1794910543\" alt=\"Purple Tongue Monster Plush Slippers — detail 3\" loading=\"lazy\"\u003e\u003c\/figure\u003e\n\u003ch3\u003eA little Christmas character\u003c\/h3\u003e\n\u003cp\u003eA playful choice for gifting, family evenings and a cosy seasonal routine. Choose the right size for the person you have in mind.\u003c\/p\u003e\n\u003c\/article\u003e\n\u003c\/div\u003e\n\u003csection class=\"cx-panel\"\u003e\n\u003ch2\u003eComfort, shaped around the character\u003c\/h2\u003e\n\u003cp\u003eSuper-soft purple polyester plush gives this little monster its inviting texture. A short-pile lining sits against the foot, with resilient PU foam and an EVA support layer underneath for a softly cushioned feel with structure.\u003c\/p\u003e\n\u003c\/section\u003e\n\u003csection class=\"cx-new-size-guide\"\u003e\n\u003ch2\u003eFind your fit\u003c\/h2\u003e\n\u003cp\u003eMeasure your foot from heel to longest toe. Choose the range that includes your measured foot length; the figures below describe suitable foot length, not the outside length of the slipper.\u003c\/p\u003e\n\u003cdiv class=\"cx-size-scroll\"\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFit\u003c\/th\u003e\n\u003cth\u003eReference EU size\u003c\/th\u003e\n\u003cth\u003eSuitable foot length\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003c\/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eKids\u003c\/td\u003e\n\u003ctd\u003e24–25\u003c\/td\u003e\n\u003ctd\u003e14.5–15.4 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKids\u003c\/td\u003e\n\u003ctd\u003e26–27\u003c\/td\u003e\n\u003ctd\u003e15.5–16.7 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKids\u003c\/td\u003e\n\u003ctd\u003e28–29\u003c\/td\u003e\n\u003ctd\u003e16.8–18.0 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKids\u003c\/td\u003e\n\u003ctd\u003e30–31\u003c\/td\u003e\n\u003ctd\u003e18.1–19.3 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKids\u003c\/td\u003e\n\u003ctd\u003e32–33\u003c\/td\u003e\n\u003ctd\u003e19.4–20.6 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKids\u003c\/td\u003e\n\u003ctd\u003e34–35\u003c\/td\u003e\n\u003ctd\u003e20.7–22.0 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAdult\u003c\/td\u003e\n\u003ctd\u003e36–37\u003c\/td\u003e\n\u003ctd\u003e22.1–23.3 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAdult\u003c\/td\u003e\n\u003ctd\u003e38–39\u003c\/td\u003e\n\u003ctd\u003e23.4–24.6 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAdult\u003c\/td\u003e\n\u003ctd\u003e40–41\u003c\/td\u003e\n\u003ctd\u003e24.7–26.0 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAdult\u003c\/td\u003e\n\u003ctd\u003e42–43\u003c\/td\u003e\n\u003ctd\u003e26.1–27.3 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAdult\u003c\/td\u003e\n\u003ctd\u003e44–45\u003c\/td\u003e\n\u003ctd\u003e27.4–28.6 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAdult\u003c\/td\u003e\n\u003ctd\u003e46–47\u003c\/td\u003e\n\u003ctd\u003e28.7–30.0 cm\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003c\/div\u003e\n\u003cp\u003eFor a wider foot, a higher instep or thick socks, consider the roomier size when between ranges. Kids and adult sizes use separate fit groups.\u003c\/p\u003e\n\u003c\/section\u003e\n\u003cfigure\u003e\u003cimg src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0746\/8246\/6348\/files\/cxacxc-christmas-slipper-3-04.jpg?v=1794910550\" alt=\"Purple Tongue Monster Plush Slippers — detail 4\" loading=\"lazy\"\u003e\u003c\/figure\u003e\n\u003csection class=\"cx-material-story\"\u003e\n\u003ch2\u003eCharacter on the outside. Comfort in the details.\u003c\/h2\u003e\n\u003cp\u003eSuper-soft purple polyester plush gives this little monster its inviting texture. A short-pile lining sits against the foot, with resilient PU foam and an EVA support layer underneath for a softly cushioned feel with structure.\u003c\/p\u003e\n\u003cp\u003eThe facial expression is worked into the fabric with embroidery and soft fabric piecing. The tongue and pointed details are gently filled to hold their characterful shape without relying on rigid points. Thoughtful panel shaping brings the face together, so the design feels as considered up close as it looks across the room.\u003c\/p\u003e\n\u003c\/section\u003e\n\u003cdetails open=\"\"\u003e\n\u003csummary\u003eMaterials \u0026amp; construction\u003c\/summary\u003e\n\u003cp\u003ePolyester short-pile plush upper and lining; PU-foam cushioning and EVA support; embroidered and fabric-pieced facial details with soft polyester filling.\u003c\/p\u003e\n\u003c\/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003eCare \u0026amp; everyday use\u003c\/summary\u003e\n\u003cp\u003eHandle decorative details gently. Spot clean and air dry.\u003c\/p\u003e\n\u003cp\u003eGrip features help with ordinary indoor use but do not prevent every slip. Keep floors and soles dry, walk carefully on stairs, and stop wearing a pair if a sole or decorative part becomes damaged.\u003c\/p\u003e\n\u003c\/details\u003e\n\u003csection class=\"cx-review-section\"\u003e\n\u003ch2\u003e\u003cbr\u003e\u003c\/h2\u003e\n\u003c\/section\u003e\n\u003c\/section\u003e\n\u003cstyle\u003e#cx-slipper-3-detail{max-width:1100px;margin:auto;line-height:1.7;color:#242020}#cx-slipper-3-detail h2{font-size:clamp(25px,3vw,38px);line-height:1.2;margin:30px 0 18px}#cx-slipper-3-detail h3{line-height:1.35;margin:20px 0 12px}#cx-slipper-3-detail p{margin:12px 0 20px}#cx-slipper-3-detail figure{margin:24px 0}#cx-slipper-3-detail img{display:block;width:100%;height:auto;max-width:100%;border-radius:12px;margin:0}#cx-slipper-3-detail .cx-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:32px 0}#cx-slipper-3-detail article{min-width:0}#cx-slipper-3-detail .cx-feature-grid figure{margin:0 0 24px}#cx-slipper-3-detail .cx-feature-grid img{aspect-ratio:1;object-fit:contain;background:#f8f5ef}#cx-slipper-3-detail .cx-panel{padding:24px;background:#f8f5ef;border-radius:12px;margin:28px 0}#cx-slipper-3-detail details{padding:20px 0;border-bottom:1px solid #ddd}#cx-slipper-3-detail summary{font-weight:700;cursor:pointer}#cx-slipper-3-detail .cx-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#cx-slipper-3-detail .cx-review-grid article{padding:18px;border:1px solid #ddd;border-radius:10px}#cx-slipper-3-detail .cx-eyebrow{letter-spacing:.12em;font-size:12px}#cx-slipper-3-bundle{padding:20px;background:#f6f2eb;border:1px solid #ddd5c9;border-radius:12px;margin:24px 0;text-align:left}#cx-slipper-3-bundle h3{font-size:19px;margin:0 0 16px}#cx-slipper-3-bundle label{display:block;font-size:14px;font-weight:600}#cx-slipper-3-bundle select{display:block;width:100%;min-width:0;height:48px;margin:8px 0 18px;padding:10px;background:#fff;border:1px solid #aaa;border-radius:6px;color:#222;font-size:16px}#cx-slipper-3-bundle p{font-size:13px;line-height:1.6}#cx-slipper-3-bundle .cx-pack-price{font-size:27px}#cx-slipper-3-bundle s{font-size:17px;color:#777;margin-left:8px}body.cx-slipper-3-ready:has(#cx-slipper-3-detail) variant-selects,body.cx-slipper-3-ready:has(#cx-slipper-3-detail) variant-radios,body.cx-slipper-3-ready:has(#cx-slipper-3-detail) .product__info-container .price{display:none!important}@media(max-width:749px){#cx-slipper-3-detail .cx-feature-grid,#cx-slipper-3-detail .cx-review-grid{grid-template-columns:1fr;gap:26px}#cx-slipper-3-detail .cx-panel{padding:20px}#cx-slipper-3-bundle{padding:16px}#cx-slipper-3-detail h3{margin-top:20px}}\u003c\/style\u003e\n\u003cstyle\u003e#cx-volume-8694121136172{padding:22px;border:1px solid #d9d2c8;border-radius:14px;background:#f8f5ef;margin:24px 0;color:#181818;text-align:left}#cx-volume-8694121136172,#cx-volume-8694121136172 *{box-sizing:border-box}#cx-volume-8694121136172 h3{font-size:20px;line-height:1.25;margin:0 0 14px}#cx-volume-8694121136172 p{font-size:13px;line-height:1.55;margin:12px 0}#cx-volume-8694121136172 label{display:block;font-size:13px;font-weight:600}#cx-volume-8694121136172 select{display:block;width:100%;min-width:0;background:#fff;color:#181818;border:1px solid #bbb;border-radius:7px;padding:12px;margin:8px 0 14px;font:inherit;font-size:16px}#cx-volume-8694121136172 button,#cx-volume-8694121136172 input{font:inherit}#cx-volume-8694121136172 .cx-v-row{padding:16px 0;border-bottom:1px solid #ddd7cc}#cx-volume-8694121136172 .cx-v-quantity{display:flex;align-items:center;gap:8px}#cx-volume-8694121136172 .cx-v-quantity button{min-width:40px;height:42px;border:1px solid #bbb;border-radius:6px;background:#fff;color:#181818;cursor:pointer}#cx-volume-8694121136172 .cx-v-quantity input{width:66px;height:42px;border:1px solid #bbb;border-radius:6px;background:#fff;text-align:center;color:#181818;font-size:16px}#cx-volume-8694121136172 .cx-v-quantity .cx-v-remove{margin-left:auto;border:0;min-width:0;background:none;text-decoration:underline;font-size:12px}#cx-volume-8694121136172 .cx-v-remove:disabled{opacity:.35;cursor:default}#cx-volume-8694121136172 .cx-v-another{width:100%;padding:12px;border:1px dashed #9a9184;border-radius:7px;background:#fff;color:#181818;font-size:14px;font-weight:600;margin:18px 0;cursor:pointer}#cx-volume-8694121136172 .cx-v-tiers{background:#edf1e8;border-radius:8px;padding:10px}#cx-volume-8694121136172 .cx-v-tier{display:flex;justify-content:space-between;gap:12px;padding:7px;font-size:13px;line-height:1.4}#cx-volume-8694121136172 .cx-v-tier.is-active{background:#dce6d2;border-radius:5px;font-weight:700}#cx-volume-8694121136172 .cx-v-total{font-size:27px!important;line-height:1.2!important}#cx-volume-8694121136172 .cx-v-total s{font-size:16px;color:#777;margin-left:8px;font-weight:400}#cx-volume-8694121136172 .cx-v-saving{color:#47603b}#cx-volume-8694121136172 .cx-v-note{font-size:11px!important;color:#6c655b}#cx-volume-8694121136172 .cx-v-error{color:#a21d1d;font-weight:600}#cx-volume-8694121136172 .cx-v-add{width:100%;padding:15px;background:#181818;color:#fff;border:0;border-radius:7px;font-size:16px;font-weight:700;cursor:pointer}#cx-volume-8694121136172 .cx-v-add:disabled{opacity:.55;cursor:wait}body.cx-volume-8694121136172-ready product-info:has(#cx-volume-8694121136172) variant-selects,body.cx-volume-8694121136172-ready product-info:has(#cx-volume-8694121136172) variant-radios,body.cx-volume-8694121136172-ready product-info:has(#cx-volume-8694121136172) .product__info-container .price,body.cx-volume-8694121136172-ready product-info:has(#cx-volume-8694121136172) .product-form__quantity,body.cx-volume-8694121136172-ready product-info:has(#cx-volume-8694121136172) .product-form__buttons{display:none!important}@media(max-width:749px){#cx-volume-8694121136172{padding:16px}#cx-volume-8694121136172 .cx-v-tier{font-size:12px}}\u003c\/style\u003e\n\u003cstyle\u003e.cx-material-story{margin:30px 0;padding:24px;background:#f7f3ed;border-radius:12px}.cx-material-story h2{line-height:1.2;margin:0 0 18px}.cx-material-story p{line-height:1.75;margin:14px 0}@media(max-width:749px){.cx-material-story{padding:20px}}\u003c\/style\u003e\n\u003cstyle\u003e.cx-new-size-guide{padding:22px;background:#f8f5ef;border-radius:12px;margin:28px 0}.cx-size-scroll{overflow-x:auto}.cx-new-size-guide table{width:100%;border-collapse:collapse;font-size:13px}.cx-new-size-guide td,.cx-new-size-guide th{padding:10px 8px;text-align:left;border-bottom:1px solid #d8d2c8;white-space:nowrap}.cx-new-size-guide p{line-height:1.65;font-size:14px}\u003c\/style\u003e\n\u003cstyle\u003e#cx-volume-8694121136172{display:none}\u003c\/style\u003e\n\u003cstyle\u003e#cx-volume-8694121136172{display:block!important}.cx-v-tier{flex-wrap:wrap}\u003c\/style\u003e\n\u003cscript type=\"application\/json\"\u003e{\"id\":\"gid:\/\/shopify\/Product\/8694121136172\",\"title\":\"Purple Tongue Monster Plush Slippers\",\"base\":990,\"choices\":[{\"id\":\"46712860835884\",\"label\":\"Purple · Adult · EU 36–37 · foot 22.1–23.3 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Adult · EU 36–37 · foot 22.1–23.3 cm\"}],\"stock\":999,\"base\":990,\"age\":\"Adult\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712860868652\",\"label\":\"Purple · Adult · EU 38–39 · foot 23.4–24.6 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Adult · EU 38–39 · foot 23.4–24.6 cm\"}],\"stock\":999,\"base\":990,\"age\":\"Adult\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712860901420\",\"label\":\"Purple · Adult · EU 40–41 · foot 24.7–26.0 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Adult · EU 40–41 · foot 24.7–26.0 cm\"}],\"stock\":999,\"base\":990,\"age\":\"Adult\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712860934188\",\"label\":\"Purple · Adult · EU 42–43 · foot 26.1–27.3 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Adult · EU 42–43 · foot 26.1–27.3 cm\"}],\"stock\":999,\"base\":990,\"age\":\"Adult\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712860966956\",\"label\":\"Purple · Adult · EU 44–45 · foot 27.4–28.6 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Adult · EU 44–45 · foot 27.4–28.6 cm\"}],\"stock\":999,\"base\":990,\"age\":\"Adult\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712860999724\",\"label\":\"Purple · Adult · EU 46–47 · foot 28.7–30.0 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Adult · EU 46–47 · foot 28.7–30.0 cm\"}],\"stock\":999,\"base\":990,\"age\":\"Adult\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712861032492\",\"label\":\"Purple · Kids · EU 24–25 · foot 14.5–15.4 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Kids · EU 24–25 · foot 14.5–15.4 cm\"}],\"stock\":999,\"base\":842,\"age\":\"Kids\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712861065260\",\"label\":\"Purple · Kids · EU 26–27 · foot 15.5–16.7 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Kids · EU 26–27 · foot 15.5–16.7 cm\"}],\"stock\":999,\"base\":842,\"age\":\"Kids\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712861098028\",\"label\":\"Purple · Kids · EU 28–29 · foot 16.8–18.0 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Kids · EU 28–29 · foot 16.8–18.0 cm\"}],\"stock\":999,\"base\":842,\"age\":\"Kids\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712861130796\",\"label\":\"Purple · Kids · EU 30–31 · foot 18.1–19.3 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Kids · EU 30–31 · foot 18.1–19.3 cm\"}],\"stock\":999,\"base\":842,\"age\":\"Kids\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712861163564\",\"label\":\"Purple · Kids · EU 32–33 · foot 19.4–20.6 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Kids · EU 32–33 · foot 19.4–20.6 cm\"}],\"stock\":999,\"base\":842,\"age\":\"Kids\",\"mediaId\":\"39647572164652\"},{\"id\":\"46712861196332\",\"label\":\"Purple · Kids · EU 34–35 · foot 20.7–22.0 cm\",\"options\":[{\"name\":\"Design\",\"value\":\"Purple\"},{\"name\":\"Size\",\"value\":\"Kids · EU 34–35 · foot 20.7–22.0 cm\"}],\"stock\":999,\"base\":842,\"age\":\"Kids\",\"mediaId\":\"39647572164652\"}],\"status\":\"ACTIVE\"}\u003c\/script\u003e\n\u003cscript\u003e(function(){\nconst cfgNode=document.currentScript.previousElementSibling;if(!cfgNode||cfgNode.type!=='application\/json')return;const p=JSON.parse(cfgNode.textContent),key='cx-volume-'+p.id.split('\/').pop(),box=document.getElementById(key);if(!box||box.dataset.initialized)return;box.dataset.initialized='true';const root=box.closest('product-info')||document.querySelector('product-info')||box.closest('.product')||document,quantity=root.querySelector('.product-form__quantity'),buy=root.querySelector('product-form');if(quantity)quantity.before(box);else if(buy)buy.before(box);\nconst dom=s=\u003ebox.querySelector(s),choiceIds=new Set(p.choices.map(v=\u003eString(v.id))),pid=Number(p.id.split('\/').pop()),base=(window.Shopify\u0026\u0026window.Shopify.routes\u0026\u0026window.Shopify.routes.root)||'\/',money=c=\u003e'€'+(c\/100).toFixed(2);let rows=[{id:p.choices[0].id,quantity:1}],existing=0,busy=false;\nfunction selection(){const grouped=new Map();for(const r of rows){if(!choiceIds.has(String(r.id))||!Number.isSafeInteger(r.quantity)||r.quantity\u003c1)throw Error('Please choose a valid design, size and quantity.');grouped.set(String(r.id),(grouped.get(String(r.id))||0)+r.quantity);}const items=[...grouped].map(([id,quantity])=\u003e({id,quantity}));for(const r of items){const v=p.choices.find(v=\u003eString(v.id)===r.id);if(r.quantity\u003ev.stock)throw Error('The selected quantity exceeds the listed stock.');}return{items,n:items.reduce((s,r)=\u003es+r.quantity,0),total:items.reduce((s,r)=\u003es+p.choices.find(v=\u003eString(v.id)===r.id).base*r.quantity,0)};}\nfunction refresh(){try{const s=selection();dom('[data-volume-error]').textContent='';dom('[data-volume-total]').textContent=money(s.total);dom('[data-volume-count]').textContent=s.n+' '+(s.n===1?'pair':'pairs')+' selected';dom('[data-volume-unit]').textContent=s.items.length===1?money(p.choices.find(v=\u003eString(v.id)===s.items[0].id).base)+' per pair':'Each pair is priced by its selected design and size.';dom('[data-volume-add]').textContent=busy?'Adding…':'Add to cart · '+money(s.total);dom('[data-volume-add]').disabled=busy;}catch(e){dom('[data-volume-error]').textContent=e.message;dom('[data-volume-add]').disabled=true;}}\nfunction render(){const wrap=dom('[data-volume-rows]');wrap.replaceChildren();rows.forEach((r,index)=\u003e{const row=document.createElement('div');row.className='cx-v-row';const label=document.createElement('div');label.className='cx-v-selects';const active=p.choices.find(v=\u003eString(v.id)===String(r.id)),get=(v,n)=\u003ev.options.find(o=\u003eo.name===n).value;const designLabel=document.createElement('label'),sizeLabel=document.createElement('label'),design=document.createElement('select'),size=document.createElement('select');designLabel.textContent='Selection '+(index+1)+' · colour \/ design';sizeLabel.textContent='Size · suitable foot length';design.setAttribute('aria-label',designLabel.textContent);size.setAttribute('aria-label',sizeLabel.textContent);for(const name of [...new Set(p.choices.map(v=\u003eget(v,'Design')))]){const op=document.createElement('option');op.value=name;op.textContent=name;op.selected=name===get(active,'Design');design.append(op);}for(const v of p.choices.filter(v=\u003eget(v,'Design')===get(active,'Design'))){const op=document.createElement('option');op.value=get(v,'Size');op.textContent=op.value;op.selected=String(v.id)===String(r.id);size.append(op);}function show(){const v=p.choices.find(v=\u003eString(v.id)===String(r.id));if(!v.mediaId)return;const b=Array.from(root.querySelectorAll('button[data-target]')).find(b=\u003eb.dataset.target\u0026\u0026b.dataset.target.endsWith(v.mediaId));if(b)b.click();}design.addEventListener('change',()=\u003e{const same=p.choices.find(v=\u003eget(v,'Design')===design.value\u0026\u0026get(v,'Size')===get(p.choices.find(x=\u003eString(x.id)===String(r.id)),'Size'));r.id=(same||p.choices.find(v=\u003eget(v,'Design')===design.value)).id;render();show();});size.addEventListener('change',()=\u003e{r.id=p.choices.find(v=\u003eget(v,'Design')===design.value\u0026\u0026get(v,'Size')===size.value).id;refresh();show();});designLabel.append(design);sizeLabel.append(size);label.append(designLabel,sizeLabel);const q=document.createElement('div');q.className='cx-v-quantity';const minus=document.createElement('button'),input=document.createElement('input'),plus=document.createElement('button'),remove=document.createElement('button');for(const b of [minus,plus,remove])b.type='button';minus.textContent='−';minus.setAttribute('aria-label','Decrease pairs in selection '+(index+1));plus.textContent='+';plus.setAttribute('aria-label','Increase pairs in selection '+(index+1));input.type='number';input.min='1';input.max='999';input.value=r.quantity;input.inputMode='numeric';input.setAttribute('aria-label','Number of pairs in selection '+(index+1));function set(n){r.quantity=Math.max(1,Math.min(999,Math.trunc(Number(n)||1)));input.value=r.quantity;refresh();}minus.addEventListener('click',()=\u003eset(r.quantity-1));plus.addEventListener('click',()=\u003eset(r.quantity+1));input.addEventListener('change',()=\u003eset(input.value));remove.textContent='Remove';remove.className='cx-v-remove';remove.disabled=rows.length===1;remove.addEventListener('click',()=\u003e{rows.splice(index,1);render();});q.append(minus,input,plus,remove);row.append(label,q);wrap.append(row);});refresh();}\nasync function fetchCart(){const r=await fetch(base+'cart.js',{credentials:'same-origin',headers:{Accept:'application\/json'}});if(!r.ok)throw Error('Your cart could not be loaded. Please try again.');const c=await r.json();existing=c.items.filter(x=\u003eNumber(x.product_id)===pid\u0026\u0026choiceIds.has(String(x.variant_id))).reduce((n,x)=\u003en+x.quantity,0);return c;}\nbox.addEventListener('change',event=\u003e{if(event.target.tagName!=='SELECT')return;const choice=p.choices.find(v=\u003eString(v.id)===String(event.target.value));if(!choice||!choice.mediaId)return;const button=Array.from(root.querySelectorAll('button[data-target]')).find(b=\u003eb.dataset.target\u0026\u0026b.dataset.target.endsWith(choice.mediaId));if(button)button.click();});\ndom('[data-volume-another]').addEventListener('click',()=\u003e{rows.push({id:p.choices[0].id,quantity:1});render();});\ndom('[data-volume-add]').addEventListener('click',async()=\u003e{if(busy)return;selection();busy=true;refresh();try{await fetchCart();const s=selection();const response=await fetch(base+'cart\/add.js',{method:'POST',credentials:'same-origin',headers:{'Content-Type':'application\/json',Accept:'application\/json'},body:JSON.stringify({items:s.items})});const result=await response.json();if(!response.ok)throw Error(typeof result.description==='string'?result.description:'This selection could not be added. Please check the quantities and try again.');window.location.assign(base+'cart');}catch(e){dom('[data-volume-error]').textContent=e.message;busy=false;dom('[data-volume-add]').disabled=false;dom('[data-volume-add]').textContent='Add to cart · '+money(selection().total);}});\nrender();document.body.classList.add(key+'-ready');fetchCart().then(refresh).catch(()=\u003e{dom('[data-volume-error]').textContent='Your cart could not be loaded. Please try again before adding your selection.';});\n})();\n\u003c\/script\u003e\u003cstyle data-slippers-spacing\u003ebody.cx-slippers-compact .product__info-container{gap:12px!important;row-gap:12px!important}body.cx-slippers-compact .product__info-container .product-form__input{margin:0 0 12px!important}body.cx-slippers-compact .product__info-container .product-form__buttons{gap:8px!important}body.cx-slippers-compact .product__info-container .product-form__submit{margin-bottom:8px!important}\u003c\/style\u003e\u003cstyle data-slippers-tight-spacing\u003ebody.cx-slippers-compact .product__info-container\u003e*{--margin-top:0rem!important;--margin-bottom:0rem!important;margin-top:8px!important;margin-bottom:8px!important;padding-top:0!important;padding-bottom:0!important}body.cx-slippers-compact .product__info-container\u003estyle,body.cx-slippers-compact .product__info-container\u003escript{margin:0!important;padding:0!important;display:none!important}body.cx-slippers-compact .product__info-container\u003ediv:has(\u003eform.installment){margin:0!important;padding:0!important}body.cx-slippers-compact .product__info-container variant-selects,body.cx-slippers-compact .product__info-container variant-radios{padding:0!important;margin:8px 0!important}body.cx-slippers-compact .product__info-container .product-form__quantity{padding:0!important;margin:8px 0!important}body.cx-slippers-compact .product__info-container .product-form{padding:0!important;margin:0!important}body.cx-slippers-compact .product__info-container .product-form__buttons{padding:0!important;margin:0!important}body.cx-slippers-compact .product__info-container\u003e.cx-delivery-estimate{padding:14px!important;margin-top:12px!important}\u003c\/style\u003e\u003cscript\u003edocument.body.classList.add(\"cx-slippers-compact\");\u003c\/script\u003e","brand":"CXACXC","offers":[{"title":"Purple \/ Adult · EU 36–37 · foot 22.1–23.3 cm","offer_id":46712860835884,"sku":"CX-SIZE-8694121136172-0","price":9.9,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Adult · EU 38–39 · foot 23.4–24.6 cm","offer_id":46712860868652,"sku":"CX-SIZE-8694121136172-1","price":9.9,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Adult · EU 40–41 · foot 24.7–26.0 cm","offer_id":46712860901420,"sku":"CX-SIZE-8694121136172-2","price":9.9,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Adult · EU 42–43 · foot 26.1–27.3 cm","offer_id":46712860934188,"sku":"CX-SIZE-8694121136172-3","price":9.9,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Adult · EU 44–45 · foot 27.4–28.6 cm","offer_id":46712860966956,"sku":"CX-SIZE-8694121136172-4","price":9.9,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Adult · EU 46–47 · foot 28.7–30.0 cm","offer_id":46712860999724,"sku":"CX-SIZE-8694121136172-5","price":9.9,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Kids · EU 24–25 · foot 14.5–15.4 cm","offer_id":46712861032492,"sku":"CX-SIZE-8694121136172-6","price":8.42,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Kids · EU 26–27 · foot 15.5–16.7 cm","offer_id":46712861065260,"sku":"CX-SIZE-8694121136172-7","price":8.42,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Kids · EU 28–29 · foot 16.8–18.0 cm","offer_id":46712861098028,"sku":"CX-SIZE-8694121136172-8","price":8.42,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Kids · EU 30–31 · foot 18.1–19.3 cm","offer_id":46712861130796,"sku":"CX-SIZE-8694121136172-9","price":8.42,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Kids · EU 32–33 · foot 19.4–20.6 cm","offer_id":46712861163564,"sku":"CX-SIZE-8694121136172-10","price":8.42,"currency_code":"EUR","in_stock":true},{"title":"Purple \/ Kids · EU 34–35 · foot 20.7–22.0 cm","offer_id":46712861196332,"sku":"CX-SIZE-8694121136172-11","price":8.42,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0746\/8246\/6348\/files\/cxacxc-christmas-slipper-3-01.jpg?v=1794910551","url":"https:\/\/cxacxc.com\/products\/purple-tongue-monster-plush-slippers","provider":"cxacxc","version":"1.0","type":"link"}