DOBABIES-Split Sleeveless Vest Top and Wide Leg Pants Women Two Piece Fashion Set
${function() {
const variantData = data.variant || {"id":"cd007b87-6f74-40d7-9483-db7232fe1768","product_id":"9ee4accb-8650-4acb-8e36-c60234958c16","title":"Apricot color-M Model Size","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:201447514#Apricot color;5:361386#M Model Size","barcode":"","position":1,"option1":"Apricot color","option2":"M Model Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89dfece665f9ac55aac6241a2942b54d.jpeg","path":"89dfece665f9ac55aac6241a2942b54d.jpeg","width":800,"height":1067,"alt":"46226135154925|46226135187693","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":103.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"103.99","retail_price":"0","available":true,"url":"\/products\/dobabies-split-sleeveless-vest-top-and-wide-leg-pants-women-two-piece-fashion-set?variant=cd007b87-6f74-40d7-9483-db7232fe1768","available_quantity":999999999,"options":[{"name":"Color","value":"Apricot color"},{"name":"Size","value":"M Model Size"}],"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}
`;
}()}