DOBABIES-Colorful Love Short Sleeved T-shirt for Women's 2024 Loose Casual Simple Pure Cotton Top Basic Shirt
${function() {
const variantData = data.variant || {"id":"4d035322-f4de-49e9-b3cb-13eccd02ad32","product_id":"c6159290-c23b-48df-9c28-bde8e5b21449","title":"black-One Size","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:193#black;5:200003528","barcode":"","position":1,"option1":"black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62e0ca047494582062afd41d5bfc45aa.jpeg","path":"62e0ca047494582062afd41d5bfc45aa.jpeg","width":1276,"height":1276,"alt":"4.62E+13","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-colorful-love-short-sleeved-t-shirt-for-womens-2024-loose-casual-simple-pure-cotton-top-basic-shirt?variant=4d035322-f4de-49e9-b3cb-13eccd02ad32","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}
`;
}()}