DOBABIES-Summer Linen Shirt Slanted Button Loose, Dry, Breathable, Comfortable Casual Top for Women
${function() {
const variantData = data.variant || {"id":"585bb7fd-2044-4186-89cf-b2d458f1daa4","product_id":"8de2c133-d14d-4b80-a263-22b7a9413774","title":"Curry color-One Size","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:200006159#Curry color;5:200003528","barcode":"","position":1,"option1":"Curry color","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96b7d865758306b5b7a0bb6b0ecf0e0f.jpeg","path":"96b7d865758306b5b7a0bb6b0ecf0e0f.jpeg","width":1920,"height":1920,"alt":"4.62E+13","aspect_ratio":1},"wholesale_price":[{"price":93.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"93.88","retail_price":"0","available":true,"url":"\/products\/dobabies-summer-linen-shirt-slanted-button-loose-dry-breathable-comfortable-casual-top-for-women?variant=585bb7fd-2044-4186-89cf-b2d458f1daa4","available_quantity":999999999,"options":[{"name":"Color","value":"Curry color"},{"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}
`;
}()}