Rarove- Polka Dot Ruffles Maternity Dresses Off Shoulder Pregnancy Dresses Ruffle Shoulderless Women Bodycon Dress Summer Pregnant
${function() {
const variantData = data.variant || {"id":"38b6f5fc-d5e7-4f24-8977-29e318cf9da6","product_id":"d1e0e3e9-fe22-4c7b-9e78-2a82237cbe11","title":"pic 2-L","weight_unit":"g","inventory_quantity":101,"sku":"rarove19447280-pic-2-l","barcode":"","position":1,"option1":"pic 2","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3a9b07fb1534ed4d6c6365858e76373f.jpeg","path":"3a9b07fb1534ed4d6c6365858e76373f.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.55,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"25.55","retail_price":"0","available":true,"url":"\/products\/polka-dot-ruffles-maternity-dresses-off-shoulder-pregnancy-dresses-ruffle-shoulderless-women-bodycon-dress-summer-pregnant?variant=38b6f5fc-d5e7-4f24-8977-29e318cf9da6","available_quantity":101,"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}
`;
}()}