Rarove Women Thick Coat Solid New Long Sleeve Stand Collar Casual Style Designed Temperament Fashion Autumn Winter Cardigan
${function() {
const variantData = data.variant || {"id":"1b87e5be-91ec-4c22-8708-e661e62f3ea5","product_id":"43fa1949-0391-41c0-92cc-5c3fe7aa648e","title":"S","weight_unit":"g","inventory_quantity":200,"sku":"91969969-s","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/90e86c322163befd4f23e9f5ae085a86.jpeg","path":"90e86c322163befd4f23e9f5ae085a86.jpeg","width":1242,"height":1812,"alt":"","aspect_ratio":0.6854304635761589},"wholesale_price":[{"price":39.54,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.54","retail_price":"0","available":true,"url":"\/products\/women-thick-coat-solid-new-long-sleeve-stand-collar-casual-style-designed-temperament-fashion-autumn-winter-cardigan?variant=1b87e5be-91ec-4c22-8708-e661e62f3ea5","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}
`;
}()}