Rarove-Fall Outfits Women's Fashion PU Faux Leather Soft Loose Blazer Coat Vintage Pockets Long Sleeve Back Vents Female Outerwear Chic Tops
${function() {
const variantData = data.variant || {"id":"34abc50d-6fc2-41c3-9fc7-e744ca4db7e7","product_id":"9da65fc7-5479-40e2-bfbe-6c3b23dd465c","title":"S","weight_unit":"g","inventory_quantity":200,"sku":"rarove25398992-sS","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2ac8dfd49a77efaa6b1f5e759f4917a.jpeg","path":"c2ac8dfd49a77efaa6b1f5e759f4917a.jpeg","width":1080,"height":1351,"alt":"","aspect_ratio":0.7994078460399704},"wholesale_price":[{"price":50.54,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"50.54","retail_price":"0","available":true,"url":"\/products\/womens-fashion-pu-faux-leather-soft-loose-blazer-coat-vintage-pockets-long-sleeve-back-vents-female-outerwear-chic-tops?variant=34abc50d-6fc2-41c3-9fc7-e744ca4db7e7","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}
`;
}()}