Women's Diamond Check Knitted Vest 2021 Winter Retro College Style V-neck Outer Wear Layered Sweater Vest Women Tops
${function() {
const variantData = data.variant || {"id":"70b28b8c-b766-4534-a4fe-9965bb033ebb","product_id":"c7ced70c-ec94-43fb-816b-0d6a864b5674","title":"coffee stripe-XS","weight_unit":"g","inventory_quantity":42,"sku":"49171911-coffee-stripe-xs","barcode":"","position":1,"option1":"coffee stripe","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9730535037552effa84343d02335a275.jpeg","path":"9730535037552effa84343d02335a275.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":44.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"44.99","retail_price":"0","available":true,"url":"\/products\/fansilanen-womens-diamond-check-knitted-vest-2021-winter-retro-college-style-v-neck-outer-wear-layered-sweater-vest-women-tops?variant=70b28b8c-b766-4534-a4fe-9965bb033ebb","available_quantity":42,"options":[{"name":"Color","value":"coffee stripe"},{"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}
`;
}()}