Autumn and winter hooded knitted sweater two-piece set
${function() {
const variantData = data.variant || {"id":"12120950-86cb-40f4-8f86-902974574c06","product_id":"7ea7f0d0-2f9b-4e5c-b8df-cab8d7992d26","title":"Coffee-One size","weight_unit":"kg","inventory_quantity":0,"sku":"662308173006-Coffee-One size","barcode":"","position":1,"option1":"Coffee","option2":"One size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/502eaa6a64ee0de979cdd0f69faa8c06.jpeg","path":"502eaa6a64ee0de979cdd0f69faa8c06.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":71.99,"min_quantity":1}],"weight":"1.15","compare_at_price":"119.6","price":"71.99","retail_price":"119.6","available":true,"url":"\/products\/autumn-and-winter-hooded-knitted-sweater-two-piece-set?variant=12120950-86cb-40f4-8f86-902974574c06","available_quantity":999999999,"options":[{"name":"Color","value":"Coffee"},{"name":"Size","value":"One size"}],"off_ratio":40,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minDays = parseInt('8');
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}
`;
}()}
${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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.