DOBABIES-Blue Striped Boxer Shorts Women's Commuting Fashion Casual Slimming A-line Wide Leg Pants Summer
${function() {
const variantData = data.variant || {"id":"b8f39b58-a724-4813-a676-9fe258027705","product_id":"1061de0e-8d84-4a3e-8cfa-45a7ae2ad0d2","title":"Blue-XL","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:173;5:100014065","barcode":"","position":1,"option1":"Blue","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2a8a6022438bb43206de3d1b53d24187.jpeg","path":"2a8a6022438bb43206de3d1b53d24187.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":52.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"52.88","retail_price":"0","available":true,"url":"\/products\/dobabies-blue-striped-boxer-shorts-womens-commuting-fashion-casual-slimming-a-line-wide-leg-pants-summer?variant=b8f39b58-a724-4813-a676-9fe258027705","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"XL"}],"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}
`;
}()}