Rarove-Fall Outfits Autumn Women Top Short Solid Color Jacket Dark Suit Short Lapel Black Single Breasted Long Sleeve Blazer Short Jacket
${function() {
const variantData = data.variant || {"id":"1bd61cdf-2ddd-45c5-91f6-acd31aadca8f","product_id":"af009404-ac96-4923-8e0a-25f5d9384876","title":"S","weight_unit":"g","inventory_quantity":200,"sku":"rarove99664768-sS","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/61bfd3cd700636e9c5e66b4a597c40bf.jpeg","path":"61bfd3cd700636e9c5e66b4a597c40bf.jpeg","width":1080,"height":1727,"alt":"","aspect_ratio":0.6253618992472496},"wholesale_price":[{"price":34.94,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.94","retail_price":"0","available":true,"url":"\/products\/autumn-women-top-short-solid-color-jacket-dark-suit-short-lapel-black-single-breasted-long-sleeve-blazer-short-jacket?variant=1bd61cdf-2ddd-45c5-91f6-acd31aadca8f","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}
`;
}()}