DOBABIES-Vertical Striped Wide Leg Shorts Slimming Cotton Hotpant
${function() {
const variantData = data.variant || {"id":"a96a5bbe-b9c9-4adf-ae7e-2bb500b9cd7f","product_id":"eaf90e17-9bfe-4b73-bccf-0dd9b23c02e9","title":"Beige-L","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:771;5:361385","barcode":"","position":1,"option1":"Beige","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a65d6390e36a4c71a6bf90ee164beae7.jpeg","path":"a65d6390e36a4c71a6bf90ee164beae7.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":43.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"43.88","retail_price":"0","available":true,"url":"\/products\/dobabies-vertical-striped-wide-leg-shorts-slimming-cotton-hotpant?variant=a96a5bbe-b9c9-4adf-ae7e-2bb500b9cd7f","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"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}
`;
}()}