Rarove-Maternity Photography Props Pregnancy Dress For Photo Shooting Off Shoulderless Pregnant Dresses For Women Maxi Maternity Gown
${function() {
const variantData = data.variant || {"id":"71dab4d1-de06-4996-afb7-9e119b815908","product_id":"7b48c0a8-3069-43ff-9f43-da4b5b55bb84","title":"White-S","weight_unit":"g","inventory_quantity":666,"sku":"rarove42454534-white-s","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/566d1474ecdd7d20479031157efcefdc.jpeg","path":"566d1474ecdd7d20479031157efcefdc.jpeg","width":400,"height":343,"alt":"","aspect_ratio":1.1661807580174928},"wholesale_price":[{"price":30.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.55","retail_price":"0","available":true,"url":"\/products\/maternity-photography-props-pregnancy-dress-for-photo-shooting-off-shoulderless-pregnant-dresses-for-women-maxi-maternity-gown?variant=71dab4d1-de06-4996-afb7-9e119b815908","available_quantity":666,"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}
`;
}()}