Rarove- New Arrival Maternity Round Collar Color Block Color Block Yellow Midi H Short-Sleeve Nursing Dress
${function() {
const variantData = data.variant || {"id":"612cf397-e730-46f9-b7e6-f23a96beca73","product_id":"60e37fed-7704-493b-a2a1-b33c81d31a53","title":"Yellow-S","weight_unit":"g","inventory_quantity":200,"sku":"rarove64847971-yellow-s","barcode":"","position":1,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3316b2b4b366d7ac876391cdcd77f65f.jpeg","path":"3316b2b4b366d7ac876391cdcd77f65f.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/new-arrival-maternity-round-collar-color-block-color-block-yellow-midi-h-short-sleeve-nursing-dress?variant=612cf397-e730-46f9-b7e6-f23a96beca73","available_quantity":200,"options":[{"name":"Color","value":"Yellow"},{"name":"Maternity Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('15');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}