DOBABIES-Black Colorblock Striped Letter Embroidery Crop Baseball Jacket
${function() {
const variantData = data.variant || {"id":"cd43f9e4-7119-49fe-8604-30505c1942d9","product_id":"f99e3f25-417e-48fa-9451-65a95394d719","title":"black-S","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:193#black;5:100014064","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ef882584bc4395a7223e0b1489f91e2.jpeg","path":"4ef882584bc4395a7223e0b1489f91e2.jpeg","width":800,"height":800,"alt":"46241497776365|46241497809133|46241497841901","aspect_ratio":1},"wholesale_price":[{"price":106.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"106.88","retail_price":"0","available":true,"url":"\/products\/dobabies-black-colorblock-striped-letter-embroidery-crop-baseball-jacket?variant=cd43f9e4-7119-49fe-8604-30505c1942d9","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"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}
`;
}()}