DOBABIES-Polka Dot Straight High Waisted Denim Wide Leg Street Pants
${function() {
const variantData = data.variant || {"id":"5817498f-ef47-40ad-a9d9-ee5d4b99610d","product_id":"818bb9ff-89b0-4f82-baeb-59e5aa5c2750","title":"Lotus root color-S","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:2483468872;5:100014064","barcode":"","position":1,"option1":"Lotus root color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e20163569c934cf93c3b5609d7e71af2.jpeg","path":"e20163569c934cf93c3b5609d7e71af2.jpeg","width":800,"height":800,"alt":"46241492009197|46241492041965|46241492074733|46241492107501","aspect_ratio":1},"wholesale_price":[{"price":64.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"64.88","retail_price":"0","available":true,"url":"\/products\/dobabies-polka-dot-straight-high-waisted-denim-wide-leg-street-pants?variant=5817498f-ef47-40ad-a9d9-ee5d4b99610d","available_quantity":999999999,"options":[{"name":"Color","value":"Lotus root color"},{"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}
`;
}()}