DOBABIES-Pink Air Layer Shorts Women's Summer Thin Loose Slim A-line Casual Wide Leg Pants
${function() {
const variantData = data.variant || {"id":"c14d7cbf-48e6-4bd0-a215-bcf09ddaebd4","product_id":"bdcb7b02-8d6e-4dab-ab62-78dd4b364131","title":"grey-M","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:200004890#grey;5:361386","barcode":"","position":1,"option1":"grey","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c2491205fc0f64147f0548513e2d8996.jpeg","path":"c2491205fc0f64147f0548513e2d8996.jpeg","width":750,"height":1000,"alt":"46226145444077|46226145771757|46226145804525","aspect_ratio":0.75},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/dobabies-pink-air-layer-shorts-womens-summer-thin-loose-slim-a-line-casual-wide-leg-pants?variant=c14d7cbf-48e6-4bd0-a215-bcf09ddaebd4","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"name":"Size","value":"M"}],"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}
`;
}()}