Rarove Autumn Windbreaker Women Spring Solid Long Belt Blazer Trench Coat Loose Temperament Vintage Female Trench Overcoat
${function() {
const variantData = data.variant || {"id":"706b2f46-175c-4cf3-9389-bfe14a30407c","product_id":"6ae4007b-185c-421c-9ac6-a04fb8dba8cd","title":"S","weight_unit":"g","inventory_quantity":200,"sku":"47941660-s","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd7e9762de126f367182e753173232ea.jpeg","path":"bd7e9762de126f367182e753173232ea.jpeg","width":1080,"height":1620,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":59.83,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"59.83","retail_price":"0","available":true,"url":"\/products\/autumn-windbreaker-women-spring-solid-long-belt-blazer-trench-coat-loose-temperament-vintage-female-trench-overcoat?variant=706b2f46-175c-4cf3-9389-bfe14a30407c","available_quantity":200,"options":[{"name":"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}
`
}()}
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}
`;
}()}