Dobabies-Summer Vacation Dress Casual Dress Green Sleeveless Pattern Beach Dress
${function() {
const variantData = data.variant || {"id":"610c7247-83e9-4e72-8387-df583c25362a","product_id":"e7af1a98-3c1b-4bb0-ad71-d80fe8375ef5","title":"LINDA-S","weight_unit":"kg","inventory_quantity":100,"sku":"dobabies2024-05-303256801868583350-Green-S","barcode":"","position":1,"option1":"LINDA","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/029c86b84be1208cd01c930d32e3dbff.jpeg","path":"029c86b84be1208cd01c930d32e3dbff.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":74.16,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"74.16","retail_price":"0","available":true,"url":"\/products\/dobabies-robe-de-plage-verte-sans-manches-a-motifs-linda?variant=610c7247-83e9-4e72-8387-df583c25362a","available_quantity":999999999,"options":[{"name":"Couleur","value":"LINDA"},{"name":"Taille","value":"S"}],"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}
`;
}()}