DOBABIES-Elegant Gradient Maxi Dress Sexy Hollow Out Strap Beach Dress Fashion A-Line Backless Sleeveless Summer Holidays Long Dress 2024
${function() {
const variantData = data.variant || {"id":"dac4c9ee-e4ff-48a7-bc12-5e82c3afdfdd","product_id":"9a0a7c4a-04e1-4b85-88f7-6a631a6ad04b","title":"Blue-L","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2314:173;5:361385","barcode":"","position":1,"option1":"Blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c39365126d738f544558a3710a3d21c5.jpeg","path":"c39365126d738f544558a3710a3d21c5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"52.99","retail_price":"0","available":true,"url":"\/products\/dobabies-elegant-gradient-maxi-dress-sexy-hollow-out-strap-beach-dress-fashion-a-line-backless-sleeveless-summer-holidays-long-dress-2024?variant=dac4c9ee-e4ff-48a7-bc12-5e82c3afdfdd","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"L"}],"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}
`;
}()}