DOBABIES-Sleeveless Tank in Summer Wearing Folded Slim Cotton and Hemp Top for Women
${function() {
const variantData = data.variant || {"id":"78c9fb90-3c85-4e73-988b-116643695457","product_id":"306398b2-0800-4217-a1ca-3d6adf2897dd","title":"green-S","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:175#green;5:100014064","barcode":"","position":1,"option1":"green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4300bd19c7b159fa9e83fe0acb824724.jpeg","path":"4300bd19c7b159fa9e83fe0acb824724.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.88","retail_price":"0","available":true,"url":"\/products\/dobabies-sleeveless-tank-in-summer-wearing-folded-slim-cotton-and-hemp-top-for-women?variant=78c9fb90-3c85-4e73-988b-116643695457","available_quantity":999999999,"options":[{"name":"Color","value":"green"},{"name":"Size","value":"S"}],"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}
`;
}()}