Twist Gentle Elegant Pullover Sweater Top
${function() {
const variantData = data.variant || {"id":"9ff4f592-8168-48ae-9ffc-67775c9a065c","product_id":"9988e60b-7caf-4316-80ad-daf8825a7fc7","title":"White","weight_unit":"kg","inventory_quantity":53297,"sku":"221027873-White","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/536dd9e7e912398330a290e0e30da3a6.jpeg","path":"536dd9e7e912398330a290e0e30da3a6.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":53.23,"min_quantity":1}],"weight":"0.6","compare_at_price":"60.16","price":"53.23","retail_price":"60.16","available":true,"url":"\/products\/twist-gentle-elegant-pullover-sweater-top?variant=9ff4f592-8168-48ae-9ffc-67775c9a065c","available_quantity":999999999,"options":[{"name":"Color","value":"White"}],"off_ratio":12,"flashsale_info":[],"sales":18};
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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.