DOBABIES-Summer Outdoor Casual Stand Up Neck Zipper Jacket Lightweight and Transparent Skin Sunscreen Coat
${function() {
const variantData = data.variant || {"id":"f906d56c-0689-49f0-ad59-a87a3484f0c0","product_id":"ccab43e7-61ed-459d-82be-8490ec9216ef","title":"Khaki-S","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:200001438;5:100014064","barcode":"","position":1,"option1":"Khaki","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec1b7bd5deb446266c8d0c7819f462ce.jpeg","path":"ec1b7bd5deb446266c8d0c7819f462ce.jpeg","width":1390,"height":1390,"alt":"46241502396653|46241502429421","aspect_ratio":1},"wholesale_price":[{"price":80.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"80.88","retail_price":"0","available":true,"url":"\/products\/dobabies-summer-outdoor-casual-stand-up-neck-zipper-jacket-lightweight-and-transparent-skin-sunscreen-coat?variant=f906d56c-0689-49f0-ad59-a87a3484f0c0","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}
`;
}()}