DOBABIES-Satin Wide Leg Pants Long Floor Casual Pants Women's Summer
${function() {
const variantData = data.variant || {"id":"a1717276-0cfd-44d9-9f7a-b36a59f727c1","product_id":"e1046585-cec2-48c4-9db5-ce11ae1b5c8a","title":"WHITE-XS","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:29#WHITE;5:100014066","barcode":"","position":1,"option1":"WHITE","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e59d6eaa5ec6475545c90d702f80b283.jpeg","path":"e59d6eaa5ec6475545c90d702f80b283.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":51.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"51.99","retail_price":"0","available":true,"url":"\/products\/dobabies-satin-wide-leg-pants-long-floor-casual-pants-womens-summer?variant=a1717276-0cfd-44d9-9f7a-b36a59f727c1","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Size","value":"XS"}],"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}
`;
}()}