DOBABIES-Polka Dot Jeans for Women's Spring 2024 New Black Print Wide Leg Long Pants
${function() {
const variantData = data.variant || {"id":"2db5102a-7d47-476b-97df-eab6ffb9d98a","product_id":"1d628d73-ec54-4f53-8bb5-a9e53ebb5320","title":"black-S","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:193#black;5:100014064#S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4194b8030fc39670af813aad743b726.jpeg","path":"c4194b8030fc39670af813aad743b726.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":70.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"70.99","retail_price":"0","available":true,"url":"\/products\/dobabies-polka-dot-jeans-for-womens-spring-2024-new-black-print-wide-leg-long-pants?variant=2db5102a-7d47-476b-97df-eab6ffb9d98a","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"S"}],"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}
`;
}()}