Rarove- Fashion Maternity Tulle Long Dresses Baby Shower Cotton Dress Stretchy Pregnancy Photography Dress with Cape Long Train
${function() {
const variantData = data.variant || {"id":"9f05ea64-242b-4b42-8385-85aa6e7cd8e3","product_id":"a8a25272-1d38-4f70-aa27-ee4f3029e4cc","title":"Pink-M","weight_unit":"g","inventory_quantity":129,"sku":"rarove49501034-m-pink","barcode":"","position":1,"option1":"Pink","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/adde4bd57f8f01e3fd28b3fe91e7aa42.jpeg","path":"adde4bd57f8f01e3fd28b3fe91e7aa42.jpeg","width":800,"height":841,"alt":"","aspect_ratio":0.9512485136741974},"wholesale_price":[{"price":37.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.55","retail_price":"0","available":true,"url":"\/products\/2020-fashion-maternity-tulle-long-dresses-baby-shower-cotton-dress-stretchy-pregnancy-photography-dress-with-cape-long-train?variant=9f05ea64-242b-4b42-8385-85aa6e7cd8e3","available_quantity":129,"options":[{"name":"Color","value":"Pink"},{"name":"Maternity Size","value":"M"}],"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}
`;
}()}