Rarove-Womens Clothing Maternity Dress Pregnancy Cold Shoulder Ruffles Mermaid Dress Flattering Baby PhotoShoot Shower
${function() {
const variantData = data.variant || {"id":"7b9978c4-09b6-4de7-b13f-b4b26a14be38","product_id":"7dc36733-bd29-4962-877f-6c5812fe0f33","title":"pic 2-L","weight_unit":"g","inventory_quantity":131,"sku":"rarove36183172-pic-2-l","barcode":"","position":1,"option1":"pic 2","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e1f92dfb59beb8073b6bde97b9b9e4c0.jpeg","path":"e1f92dfb59beb8073b6bde97b9b9e4c0.jpeg","width":488,"height":640,"alt":"","aspect_ratio":0.7625},"wholesale_price":[{"price":20.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.55","retail_price":"0","available":true,"url":"\/products\/womens-clothing-maternity-dress-pregnancy-cold-shoulder-ruffles-mermaid-dress-flattering-baby-photoshoot-shower?variant=7b9978c4-09b6-4de7-b13f-b4b26a14be38","available_quantity":131,"options":[{"name":"Color","value":"pic 2"},{"name":"Maternity Size","value":"L"}],"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}
`;
}()}