DOBABIES-Polka Dot Short Sleeved Patchwork T-shirt Summer Round Neck Gray Cotton Tee
${function() {
const variantData = data.variant || {"id":"b2264653-6b3a-4704-8822-afafcac0e10b","product_id":"aa35e5fd-8260-4b81-9211-3e1d7ac8ab0d","title":"Dark Grey-M","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:200004890;5:361386","barcode":"","position":1,"option1":"Dark Grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fc4264b8ac159e45949e0abac10d9c85.jpeg","path":"fc4264b8ac159e45949e0abac10d9c85.jpeg","width":720,"height":720,"alt":"46241496826093|46241496858861","aspect_ratio":1},"wholesale_price":[{"price":34.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"34.88","retail_price":"0","available":true,"url":"\/products\/dobabies-polka-dot-short-sleeved-patchwork-t-shirt-summer-round-neck-gray-cotton-tee?variant=b2264653-6b3a-4704-8822-afafcac0e10b","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"},{"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}
`;
}()}