Checked Set Jacket Double Breasted Top
${function() {
const variantData = data.variant || {"id":"cf92335d-c9ec-4fb0-a5db-6d2bf7ba1870","product_id":"7abbcd62-7b13-4301-a867-ffd470d2afe1","title":"Dark khaki-L","weight_unit":"kg","inventory_quantity":857,"sku":"2110221406-Dark khaki-L","barcode":"","position":1,"option1":"Dark khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bb15b88b29c1418a3594da3a061336b5.jpeg","path":"bb15b88b29c1418a3594da3a061336b5.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":57.24,"min_quantity":1}],"weight":"0.47","compare_at_price":"65.33","price":"57.24","retail_price":"65.33","available":true,"url":"\/products\/checked-suit-jacket-double-breasted-top?variant=cf92335d-c9ec-4fb0-a5db-6d2bf7ba1870","available_quantity":999999999,"options":[{"name":"Color","value":"Dark khaki"},{"name":"Size","value":"L"}],"off_ratio":12,"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.