DOBABIES-Drawstring Waist Windbreaker for Women's 2024 Spring New Sprint Suit Cargo Jacket
${function() {
const variantData = data.variant || {"id":"05fae9ca-6af8-4bd5-8d5e-f97e3dcee46e","product_id":"0b3c0f5d-0949-4e16-acf3-01a450acf629","title":"black-M Model Size","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:193#black;5:100014064#M Model Size","barcode":"","position":1,"option1":"black","option2":"M Model Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8fe873180cb7a46034a32e536d71a46.jpeg","path":"f8fe873180cb7a46034a32e536d71a46.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":89.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"89.99","retail_price":"0","available":true,"url":"\/products\/dobabies-drawstring-waist-windbreaker-for-womens-2024-spring-new-sprint-suit-cargo-jacket?variant=05fae9ca-6af8-4bd5-8d5e-f97e3dcee46e","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M Model Size"}],"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}
`;
}()}