DOBABIES-Crop Tank Tops Cut Double Stitched Ant Waist Curved Hem Design Round Neck Strap Vest
${function() {
const variantData = data.variant || {"id":"8212a5c3-2476-4bcf-9f7e-7b90f95979ee","product_id":"27490b11-b576-4214-b68b-85524549b3dd","title":"WHITE-M","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:29;5:361386","barcode":"","position":1,"option1":"WHITE","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf9f368ab35c85df758e04d971cf8c4b.jpeg","path":"bf9f368ab35c85df758e04d971cf8c4b.jpeg","width":800,"height":800,"alt":"46241492533485|46241492566253","aspect_ratio":1},"wholesale_price":[{"price":37.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.88","retail_price":"0","available":true,"url":"\/products\/dobabies-crop-tank-tops-cut-double-stitched-ant-waist-curved-hem-design-round-neck-strap-vest?variant=8212a5c3-2476-4bcf-9f7e-7b90f95979ee","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"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}
`;
}()}