DOBABIES-Summer Cargo Shorts, Women's Multi-color Elastic High Waisted A-line Wide Leg Pants
${function() {
const variantData = data.variant || {"id":"a25d9cd6-0fc1-4551-a22f-f0cf5a88a0f1","product_id":"aad484d0-07a5-4139-a47a-3b68400bd470","title":"black-M","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:193#black;5:361386","barcode":"","position":1,"option1":"black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a7f2b96dac0fad42b1df4561f2aa9e1e.jpeg","path":"a7f2b96dac0fad42b1df4561f2aa9e1e.jpeg","width":1200,"height":1600,"alt":"46226144035053|46226144067821","aspect_ratio":0.75},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"48.99","retail_price":"0","available":true,"url":"\/products\/dobabies-summer-cargo-shorts-womens-multi-color-elastic-high-waisted-a-line-wide-leg-pants?variant=a25d9cd6-0fc1-4551-a22f-f0cf5a88a0f1","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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}
`;
}()}