Rarove-Maternity Pregnancy Clothes Striped Tops Breastfeeding T-shirt Striped Tops Mama Pregnancy Clothes O-neck Summer 2018 Top
${function() {
const variantData = data.variant || {"id":"2d01ddcf-7223-4b81-aa35-0ddd65a70c30","product_id":"95052321-b977-4438-8ad1-4ef27d7f2f4d","title":"pic-S","weight_unit":"g","inventory_quantity":44,"sku":"rarove14045644-pic-s","barcode":"","position":1,"option1":"pic","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb0168cce2fc74ed6cd99877a9460246.jpeg","path":"fb0168cce2fc74ed6cd99877a9460246.jpeg","width":751,"height":1001,"alt":"","aspect_ratio":0.7502497502497503},"wholesale_price":[{"price":16.77,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.77","retail_price":"0","available":true,"url":"\/products\/maternity-pregnancy-clothes-striped-tops-breastfeeding-t-shirt-striped-tops-mama-pregnancy-clothes-o-neck-summer-2018-top?variant=2d01ddcf-7223-4b81-aa35-0ddd65a70c30","available_quantity":44,"options":[{"name":"Color","value":"pic"},{"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}
`;
}()}