Rarove- Women's Floral Short Sleeve Loose Maternity Dresses Pregnancy Clothes Summer Casual Soft Waist Pleated Print Knee Length Dress
${function() {
const variantData = data.variant || {"id":"1e84d0ee-7ff7-45bf-80c5-1bdc5ad3b796","product_id":"e7b63838-6166-4dec-b8e9-63b46e040022","title":"pic 2-S","weight_unit":"g","inventory_quantity":104,"sku":"rarove35950121-pic-2-s","barcode":"","position":1,"option1":"pic 2","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/66795f667487c4e1d68df44e44ff8c02.jpeg","path":"66795f667487c4e1d68df44e44ff8c02.jpeg","width":480,"height":640,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.55","retail_price":"0","available":true,"url":"\/products\/womens-floral-short-sleeve-loose-maternity-dresses-pregnancy-clothes-summer-casual-soft-waist-pleated-print-knee-length-dress?variant=1e84d0ee-7ff7-45bf-80c5-1bdc5ad3b796","available_quantity":104,"options":[{"name":"Color","value":"pic 2"},{"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}
`;
}()}