DOBABIES-Milk Blue Contrast Waffle Short Sleeved Women's T-shirt Summer Loose Shoulder Top
${function() {
const variantData = data.variant || {"id":"dff7b074-53eb-42c5-a3a6-c62f05bcc97b","product_id":"4bc98202-b06d-4f7a-9b8e-b31bc8bdd738","title":"Creamy rice-M","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:200661023#Creamy rice;5:361386","barcode":"","position":1,"option1":"Creamy rice","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6fac536bc2e3bc54b0e1536e64d8adb1.jpeg","path":"6fac536bc2e3bc54b0e1536e64d8adb1.jpeg","width":1200,"height":1200,"alt":"46241509966061|46241509998829","aspect_ratio":1},"wholesale_price":[{"price":38.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.88","retail_price":"0","available":true,"url":"\/products\/dobabies-milk-blue-contrast-waffle-short-sleeved-womens-t-shirt-summer-loose-shoulder-top?variant=dff7b074-53eb-42c5-a3a6-c62f05bcc97b","available_quantity":999999999,"options":[{"name":"Color","value":"Creamy rice"},{"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}
`;
}()}