DOBABIES-Color Blocking 2 in 1 Short Sleeve T Shirt Tops Short Sleeved Women's Summer Thin Slimming Round Necked Silk
${function() {
const variantData = data.variant || {"id":"404346e5-8981-4e99-8126-3cc6902036f8","product_id":"01ce60b7-f549-4bb8-b725-49693e7e99cb","title":"black-M","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:193#black;5:361386","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76c916de7797f6c18d343c2a83102855.jpeg","path":"76c916de7797f6c18d343c2a83102855.jpeg","width":750,"height":1000,"alt":"46226142626029|46226142724333","aspect_ratio":0.75},"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-color-blocking-2-in-1-short-sleeve-t-shirt-tops-short-sleeved-womens-summer-thin-slimming-round-necked-silk?variant=404346e5-8981-4e99-8126-3cc6902036f8","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"M"}],"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}
`;
}()}