DOBABIES-Striped Straight Tank Dress Women Loose Slimming Hemphanging Neck Dress
${function() {
const variantData = data.variant || {"id":"c66e9e38-d023-44f6-a88f-0d98d1cc1684","product_id":"1f5223fe-df80-4224-96d9-71ccc603effe","title":"Beige stripe-M","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:771#Beige stripe;5:361386","barcode":"","position":1,"option1":"Beige stripe","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/576de0a5632e2e1b3bf6939ea2790ec4.jpeg","path":"576de0a5632e2e1b3bf6939ea2790ec4.jpeg","width":800,"height":800,"alt":"46241503838445|46241503871213|46241503903981","aspect_ratio":1},"wholesale_price":[{"price":101.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"101.88","retail_price":"0","available":true,"url":"\/products\/dobabies-striped-straight-tank-dress-women-loose-slimming-hemphanging-neck-dress?variant=c66e9e38-d023-44f6-a88f-0d98d1cc1684","available_quantity":999999999,"options":[{"name":"Color","value":"Beige 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}
`;
}()}