DOBABIES-Autumn Casual Letter Embroidery Oversized Sweatshirt Drop Shoulder Sleeves Loose Sweater
${function() {
const variantData = data.variant || {"id":"3216cb98-6f57-46e3-9d3b-8ca69314a566","product_id":"dde5141d-8289-4014-a90e-d92f4ce3f66e","title":"One Size-White","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:29#White;5:100014064#One Size","barcode":"","position":1,"option1":"One Size","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e329c8abbbc9e79985d51f74fed58ff9.jpeg","path":"e329c8abbbc9e79985d51f74fed58ff9.jpeg","width":800,"height":800,"alt":"4.62E+13","aspect_ratio":1},"wholesale_price":[{"price":48.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"48.88","retail_price":"0","available":true,"url":"\/products\/dobabies-autumn-casual-letter-embroidery-oversized-sweatshirt-drop-shoulder-sleeves-loose-sweater?variant=3216cb98-6f57-46e3-9d3b-8ca69314a566","available_quantity":999999999,"options":[{"name":"Size","value":"One Size"},{"name":"Color","value":"White"}],"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}
`;
}()}