Rarove-Fancy Lace Top Maternity Photography Props Dresses For Pregnant Women Clothes Maternity Dresses For Photo Shoot Pregnancy Dress
${function() {
const variantData = data.variant || {"id":"37f32247-8be5-4089-906f-a2ad9bdb2b26","product_id":"b0e6f6f3-9772-4191-a8ce-f8347a4540a1","title":"Pink-M","weight_unit":"g","inventory_quantity":140,"sku":"rarove24205349-pink-m","barcode":"","position":1,"option1":"Pink","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42779bed2f4a5bb24bcf64c4486c948a.jpeg","path":"42779bed2f4a5bb24bcf64c4486c948a.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"44.55","retail_price":"0","available":true,"url":"\/products\/fancy-lace-top-maternity-photography-props-dresses-for-pregnant-women-clothes-maternity-dresses-for-photo-shoot-pregnancy-dress?variant=37f32247-8be5-4089-906f-a2ad9bdb2b26","available_quantity":140,"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}
`;
}()}