Rarove-Maternity Dresses For Photo Shoot Women Pregnants Sexy Off Shoulders Dresses Maxi Photography Props Maternity Pregnancy Dresses
${function() {
const variantData = data.variant || {"id":"de040cad-af78-47c9-aa35-f5a3107dfbd2","product_id":"7b3c2591-0ef8-420c-b157-672d7ef19d71","title":"One Size-Blue","weight_unit":"g","inventory_quantity":999,"sku":"rarove49501029-one-size-blue","barcode":"","position":1,"option1":"One Size","option2":"Blue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bc8786fb0014063b0051afea8d9e0f2f.jpeg","path":"bc8786fb0014063b0051afea8d9e0f2f.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"43.55","retail_price":"0","available":true,"url":"\/products\/maternity-dresses-for-photo-shoot-women-pregnants-sexy-off-shoulders-dresses-maxi-photography-props-maternity-pregnancy-dresses?variant=de040cad-af78-47c9-aa35-f5a3107dfbd2","available_quantity":999,"options":[{"name":"Maternity Size","value":"One Size"},{"name":"Color","value":"Blue"}],"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}
`;
}()}