Rarove-Long Maternity Shoot Dress Pleated Pregnancy Photography Dresses Split Side Maxi Maternity Gown Photo Prop For Pregnant Women XL
${function() {
const variantData = data.variant || {"id":"a1692caf-26c9-46b8-a6f8-b19039218362","product_id":"bc0cad68-7f7b-4786-8dc9-0a2a2942bb41","title":"White-S","weight_unit":"g","inventory_quantity":198,"sku":"rarove32456892-white-s","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7817a8aef9d256f69f9643ce0999cd44.jpeg","path":"7817a8aef9d256f69f9643ce0999cd44.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":51.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"51.55","retail_price":"0","available":true,"url":"\/products\/long-maternity-shoot-dress-pleated-pregnancy-photography-dresses-split-side-maxi-maternity-gown-photo-prop-for-pregnant-women-xl?variant=a1692caf-26c9-46b8-a6f8-b19039218362","available_quantity":198,"options":[{"name":"Color","value":"White"},{"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}
`;
}()}