DOBABIES-Ice Silk Tank Tops Striped Female Summer Outwear Loose Slim Sleeveless Top T-shirt
${function() {
const variantData = data.variant || {"id":"968c4771-7842-4bb9-8f6e-549defc8f52b","product_id":"1291d263-8791-4388-97ba-c4743bd277d4","title":"White stripe-M","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:771#White stripe;5:361386","barcode":"","position":1,"option1":"White stripe","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b57c553ba0d1cdf779294ffdad146525.jpeg","path":"b57c553ba0d1cdf779294ffdad146525.jpeg","width":1200,"height":1200,"alt":"46226140922093|46226140954861","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"39.99","retail_price":"0","available":true,"url":"\/products\/dobabies-ice-silk-tank-tops-striped-female-summer-outwear-loose-slim-sleeveless-top-t-shirt?variant=968c4771-7842-4bb9-8f6e-549defc8f52b","available_quantity":999999999,"options":[{"name":"Color","value":"White stripe"},{"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}
`;
}()}