Women French White Small Fragrance Jacket Winter Short Retro Wool Double-faced Coat Bright Line Decoration Wool Coat
${function() {
const variantData = data.variant || {"id":"55b8ef07-0e40-4212-a659-c6bc4ed345d7","product_id":"da09bb2f-3b9d-4630-b387-ee971ca7fa07","title":"Beige-XS","weight_unit":"g","inventory_quantity":126,"sku":"48524211-beige-xs","barcode":"","position":1,"option1":"Beige","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a9d3ce6c9f296e2e727dc00fcd37332a.jpeg","path":"a9d3ce6c9f296e2e727dc00fcd37332a.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":210.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"210.99","retail_price":"0","available":true,"url":"\/products\/fansilanen-women-french-white-small-fragrance-jacket-winter-short-retro-wool-double-faced-coat-bright-line-decoration-wool-coat?variant=55b8ef07-0e40-4212-a659-c6bc4ed345d7","available_quantity":126,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"XS"}],"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}
`;
}()}