DOBABIES-Spring New Cartoon Fun Print Round Neck Loose Short Sleeved T-shirt Slimming Tee
${function() {
const variantData = data.variant || {"id":"0a925d54-8f30-4444-a03a-f6fda20e8246","product_id":"6a272df7-339e-4ffb-abfc-332a583ea25a","title":"Milk apricot color-One Size","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:201447514#Milk apricot color;5:100014064#One Size","barcode":"","position":1,"option1":"Milk apricot color","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b08a22b5af7fbd37fbccd9247a1ad5ea.jpeg","path":"b08a22b5af7fbd37fbccd9247a1ad5ea.jpeg","width":800,"height":800,"alt":"4.62E+13","aspect_ratio":1},"wholesale_price":[{"price":46.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"46.99","retail_price":"0","available":true,"url":"\/products\/dobabies-spring-new-cartoon-fun-print-round-neck-loose-short-sleeved-t-shirt-slimming-tee?variant=0a925d54-8f30-4444-a03a-f6fda20e8246","available_quantity":999999999,"options":[{"name":"Color","value":"Milk apricot color"},{"name":"Size","value":"One 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}
`;
}()}