DOBABIES-Contrast Colored Spliced Striped Sleeve T-shirt Basic Shirt 2024
${function() {
const variantData = data.variant || {"id":"0bd65daa-5c2f-4e4c-8212-2e6591bbafcd","product_id":"82d2b0e6-7b40-4a92-94ea-6d6755e7eb65","title":"Black-One Size","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:193;5:200003528","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2236176bec50301e4d598547a1751ec2.jpeg","path":"2236176bec50301e4d598547a1751ec2.jpeg","width":800,"height":800,"alt":"4.62E+13","aspect_ratio":1},"wholesale_price":[{"price":47.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"47.88","retail_price":"0","available":true,"url":"\/products\/dobabies-contrast-colored-spliced-striped-sleeve-t-shirt-basic-shirt-2024?variant=0bd65daa-5c2f-4e4c-8212-2e6591bbafcd","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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}
`;
}()}