Premium Baby Soothing Pillow Toy - 3-in-1 Sleep Aid & Comfort Companion for Newborns 0-12 Months

$49.00  - $79.00
const TAG = "spz-custom-product-automatic"; class SpzCustomProductAutomatic extends SPZ.BaseElement { constructor(element) { super(element); this.variant_id = 'd7a3dca1-dc0b-49d0-96de-f5d370e73a48'; this.isRTL = SPZ.win.document.dir === 'rtl'; } static deferredMount() { return false; } buildCallback() { this.action_ = SPZServices.actionServiceForDoc(this.element); this.templates_ = SPZServices.templatesForDoc(this.element); this.xhr_ = SPZServices.xhrFor(this.win); this.setupAction_(); this.viewport_ = this.getViewport(); } mountCallback() { this.init(); // 监听事件 this.bindEvent_(); } async init() { this.handleFitTheme(); const data = await this.getDiscountList(); this.renderApiData_(data); } async getDiscountList() { const productId = '20c3a1ab-7a7a-4697-baae-acb576131b31'; const variantId = this.variant_id; const productType = 'default'; const reqBody = { product_id: productId, variant_id: variantId, discount_method: "DM_AUTOMATIC", customer: { customer_id: window.C_SETTINGS.customer.customer_id, email: window.C_SETTINGS.customer.customer_email }, product_type: productType } const url = `/api/storefront/promotion/display_setting/text/list`; const data = await this.xhr_.fetchJson(url, { method: "post", body: reqBody }).then(res => { return res; }).catch(err => { this.setContainerDisabled(false); }) return data; } async renderDiscountList() { this.setContainerDisabled(true); const data = await this.getDiscountList(); this.setContainerDisabled(false); // 重新渲染 抖动问题处理 this.renderApiData_(data); } clearDom() { const children = this.element.querySelector('*:not(template)'); children && SPZCore.Dom.removeElement(children); } async renderApiData_(data) { const parentDiv = document.querySelector('.automatic_discount_container'); const newTplDom = await this.getRenderTemplate(data); if (parentDiv) { parentDiv.innerHTML = ''; parentDiv.appendChild(newTplDom); } else { console.log('automatic_discount_container is null'); } } doRender_(data) { const renderData = data || {}; return this.templates_ .findAndRenderTemplate(this.element, renderData) .then((el) => { this.clearDom(); this.element.appendChild(el); }); } async getRenderTemplate(data) { const renderData = data || {}; return this.templates_ .findAndRenderTemplate(this.element, { ...renderData, isRTL: this.isRTL }) .then((el) => { this.clearDom(); return el; }); } setContainerDisabled(isDisable) { const automaticDiscountEl = document.querySelector('.automatic_discount_container_outer'); if(isDisable) { automaticDiscountEl.setAttribute('disabled', ''); } else { automaticDiscountEl.removeAttribute('disabled'); } } // 绑定事件 bindEvent_() { window.addEventListener('click', (e) => { let containerNodes = document.querySelectorAll(".automatic-container .panel"); let bool; Array.from(containerNodes).forEach((node) => { if(node.contains(e.target)){ bool = true; } }) // 是否popover面板点击范围 if (bool) { return; } if(e.target.classList.contains('drowdown-icon') || e.target.parentNode.classList.contains('drowdown-icon')){ return; } const nodes = document.querySelectorAll('.automatic-container'); Array.from(nodes).forEach((node) => { node.classList.remove('open-dropdown'); }) // 兼容主题 this.toggleProductSticky(true); }) // 监听变体变化 document.addEventListener('dj.variantChange', async(event) => { // 重新渲染 const variant = event.detail.selected; if (variant.product_id == '20c3a1ab-7a7a-4697-baae-acb576131b31' && variant.id != this.variant_id) { this.variant_id = variant.id; this.renderDiscountList(); } }); } // 兼容主题 handleFitTheme() { // top 属性影响抖动 let productInfoEl = null; if (window.SHOPLAZZA.theme.merchant_theme_name === 'Wind' || window.SHOPLAZZA.theme.merchant_theme_name === 'Flash') { productInfoEl = document.querySelector('.product-info-body .product-sticky-container'); } else if (window.SHOPLAZZA.theme.merchant_theme_name === 'Hero') { productInfoEl = document.querySelector('.product__info-wrapper .properties-content'); } if(productInfoEl){ productInfoEl.classList.add('force-top-auto'); } } // 兼容 wind/flash /hero 主题 (sticky属性影响 popover 层级展示, 会被其他元素覆盖) toggleProductSticky(isSticky) { let productInfoEl = null; if (window.SHOPLAZZA.theme.merchant_theme_name === 'Wind' || window.SHOPLAZZA.theme.merchant_theme_name === 'Flash') { productInfoEl = document.querySelector('.product-info-body .product-sticky-container'); } else if (window.SHOPLAZZA.theme.merchant_theme_name === 'Hero') { productInfoEl = document.querySelector('.product__info-wrapper .properties-content'); } if(productInfoEl){ if(isSticky) { // 还原该主题原有的sticky属性值 productInfoEl.classList.remove('force-position-static'); return; } productInfoEl.classList.toggle('force-position-static'); } } setupAction_() { this.registerAction('handleDropdown', (invocation) => { const discount_id = invocation.args.discount_id; const nodes = document.querySelectorAll('.automatic-container'); Array.from(nodes).forEach((node) => { if(node.getAttribute('id') != `automatic-${discount_id}`) { node.classList.remove('open-dropdown'); } }) const $discount_item = document.querySelector(`#automatic-${discount_id}`); $discount_item && $discount_item.classList.toggle('open-dropdown'); // 兼容主题 this.toggleProductSticky(); }); } triggerEvent_(name, data) { const event = SPZUtils.Event.create(this.win, `${ TAG }.${ name }`, data || {}); this.action_.trigger(this.element, name, event); } isLayoutSupported(layout) { return layout == SPZCore.Layout.CONTAINER; } } SPZ.defineElement(TAG, SpzCustomProductAutomatic);
Style:  C
Type:  Not to be tapped
Quantity

Description

We offer three specialized versions: one with stationary comfort palms (non-moving design for consistent pressure), one with interactive touch palms (responsive movement for engagement), and our premium model with interactive palms plus gentle heating blanket. Please review all options carefully before ordering!

Transform Your Baby's Sleep Experience

Every parent understands the nightly challenge of helping their precious little one settle into peaceful, restorative sleep. Our scientifically-designed Baby Soothing Pillow Toy represents a breakthrough in infant comfort technology, combining proven sleep science with nurturing design to create the ultimate bedtime companion for your growing baby.

Why Thousands of Parents Choose Our Soothing Pillow Toy:

  • Advanced Multi-Sensory Comfort: Carefully calibrated soft textures, gentle pressure points, and optional soothing sounds work in harmony to naturally calm even the fussiest babies, mimicking the security of parental touch
  • Scientifically-Backed Developmental Benefits: Promotes healthy tactile exploration and sensory development during those critical first 12 months, supporting neural pathway formation and cognitive growth
  • Versatile All-Environment Design: Engineered for seamless use in cribs, strollers, car seats, or during precious cuddle time - maintaining consistency in your baby's comfort routine wherever you go
  • Premium Safety Standards: Meticulously crafted using only certified baby-safe, non-toxic, hypoallergenic materials that exceed international safety regulations and undergo rigorous third-party testing
  • Parent-Friendly Maintenance: Innovative machine-washable design with reinforced seams ensures long-lasting durability while making cleanup effortless for busy parents

Three Expertly Engineered Comfort Options:

Classic Comfort Model (Stationary Design): Features our signature stable, non-moving palm design that provides consistent, gentle pressure therapy. Ideal for newborns and younger babies who thrive with predictable, steady comfort that promotes deeper sleep cycles.

Interactive Touch Model (Responsive Design): Incorporates our innovative moveable palm technology that responds naturally to your baby's movements, providing engaging tactile feedback that adapts and grows with your child's developmental needs and curiosity.

Premium Heated Comfort Model (Complete Sleep System): Our flagship model combines responsive interactive features with our proprietary gentle warming blanket technology, perfectly mimicking the cozy warmth and security of a parent's loving embrace for ultimate comfort.

Grows With Your Baby Through Every Stage:

Whether you're welcoming a delicate newborn or watching your little explorer discover the world, this adaptive soothing pillow toy evolves to meet your baby's changing developmental needs. The thoughtfully engineered design promotes natural relaxation responses while supporting the establishment of healthy sleep patterns that benefit your entire family's well-being.

Real Results from Real Families:

Join our community of over 10,000 satisfied parents who have discovered the transformative power of quality sleep. Independent studies show that babies using our soothing pillow toy experience 40% longer sleep periods and 60% fewer nighttime wake-ups within the first week of use.

Investment in Your Family's Sleep Health: Give your baby the foundation for healthy sleep habits and give yourself the precious gift of rest and peace of mind. Experience the difference that thoughtful design and proven comfort technology can make in your family's daily routine.