DOBABIES-Dog Graffiti Short T-shirt Summer Fun Loose Round Neck Casual Top White Tee
${function() {
const variantData = data.variant || {"id":"03a8d6d3-ddea-43fe-80cd-b83a2481e76c","product_id":"95d1643b-d635-4908-8d51-da5fa7bd6fdd","title":"white-M","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:29#white;5:361386","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/18ff14c8276776d70e8ed51f935d5f9b.jpeg","path":"18ff14c8276776d70e8ed51f935d5f9b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.88","retail_price":"0","available":true,"url":"\/products\/dobabies-dog-graffiti-short-t-shirt-summer-fun-loose-round-neck-casual-top-white-tee?variant=03a8d6d3-ddea-43fe-80cd-b83a2481e76c","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"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}
`;
}()}