DOBABIES-Apricot Linen Long Dress Women Elegant Spaghetti Strap Casual Loose Holiday Beach Dress Summer Sexy Backless Bohemia Dress 2024
${function() {
const variantData = data.variant || {"id":"9bf59c2c-64ef-45e8-bb19-478dd4a04837","product_id":"ba4868d0-e9ce-4a17-8650-0d6b4b146a61","title":"Apricot-S","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2314:771#Apricot;5:100014064","barcode":"","position":1,"option1":"Apricot","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b9c42e1785a44d1e0911b879a530421.jpeg","path":"0b9c42e1785a44d1e0911b879a530421.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.99","retail_price":"0","available":true,"url":"\/products\/dobabies-apricot-linen-long-dress-women-elegant-spaghetti-strap-casual-loose-holiday-beach-dress-summer-sexy-backless-bohemia-dress-2024?variant=9bf59c2c-64ef-45e8-bb19-478dd4a04837","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot"},{"name":"Size","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}
`;
}()}