Women Long Trench Coat Double-sided Woolen Coat Pure Woolen Coat Heavy Industry Trench Coat Style Design Woolen Coat
${function() {
const variantData = data.variant || {"id":"db9fcd23-4f8c-4a5e-90d0-7990f14c9d87","product_id":"c35759c7-bf59-408a-b9ba-fc9b30a2b34a","title":"Pear brown-S","weight_unit":"g","inventory_quantity":101,"sku":"49152710-pear-brown-s","barcode":"","position":1,"option1":"Pear brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c61a85db407a0c2f40fe1fd1db043554.jpeg","path":"c61a85db407a0c2f40fe1fd1db043554.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":315.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"315.99","retail_price":"0","available":true,"url":"\/products\/fansilanen-women-long-trench-coat-double-sided-woolen-coat-pure-woolen-coat-heavy-industry-trench-coat-style-design-woolen-coat?variant=db9fcd23-4f8c-4a5e-90d0-7990f14c9d87","available_quantity":101,"options":[{"name":"Color","value":"Pear brown"},{"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}
`
}()}
${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}
`;
}()}