Retro V-Neck Lazy Twist Outer Vest
${function() {
const variantData = data.variant || {"id":"96993b37-c2ed-411b-b744-15441f88644d","product_id":"4c0c9a65-b9cc-4df0-be7a-537232d104f0","title":"green-khaki-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211141626-green-khaki-one size","barcode":"","position":1,"option1":"green-khaki","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ac9b45fdcf244ff3de8283a12790de55.jpeg","path":"ac9b45fdcf244ff3de8283a12790de55.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":44.18,"min_quantity":1}],"weight":"0.33","compare_at_price":"49.82","price":"44.18","retail_price":"49.82","available":true,"url":"\/products\/retro-v-neck-lazy-twist-outer-vest?variant=96993b37-c2ed-411b-b744-15441f88644d","available_quantity":999999999,"options":[{"name":"color","value":"green-khaki"},{"name":"size","value":"one size"}],"off_ratio":11,"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.