DOBABIES-Striped Sunscreen Shirt and Shorts Two-piece Set, 2024 Early Spring New Outfit
${function() {
const variantData = data.variant || {"id":"5e3a07ae-d44b-45ad-9817-55fb23a89b34","product_id":"0df338f9-5133-4a8c-bd5e-042c4ceda0c4","title":"Khaki-S","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:200001438#Khaki;5:100014064","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f7094b0366d7fa58fa70bfaa771ebabc.jpeg","path":"f7094b0366d7fa58fa70bfaa771ebabc.jpeg","width":800,"height":800,"alt":"46226146197741|46226146230509|46226146263277","aspect_ratio":1},"wholesale_price":[{"price":75.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"75.99","retail_price":"0","available":true,"url":"\/products\/dobabies-striped-sunscreen-shirt-and-shorts-two-piece-set-2024-early-spring-new-outfit?variant=5e3a07ae-d44b-45ad-9817-55fb23a89b34","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"},{"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}
`;
}()}