DOBABIES-Bow Full Shoulder Fit Round Neck Short Sleeve T-shirt 2024 Spring/summer
${function() {
const variantData = data.variant || {"id":"12f40d0f-4383-4e7f-bffe-ae31e6bde030","product_id":"e5d73678-2c57-4588-afd1-e1a109f01103","title":"black-One Size","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:193#black;5:100014064#One Size","barcode":"","position":1,"option1":"black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/44069b7217c2295c61b0f094d8bad9c3.jpeg","path":"44069b7217c2295c61b0f094d8bad9c3.jpeg","width":750,"height":750,"alt":"4.62E+13","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45.99","retail_price":"0","available":true,"url":"\/products\/dobabies-bow-full-shoulder-fit-round-neck-short-sleeve-t-shirt-2024-spring-summer?variant=12f40d0f-4383-4e7f-bffe-ae31e6bde030","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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}
`;
}()}