Dobabies sweatpants outfit men Casual Pants Men's Ankle-Length Ankle-Tied Pants Spring and Autumn New Straight Loose Harem Overalls Long Pants Men's Pants
${function() {
const variantData = data.variant || {"id":"27d31926-d343-4762-9a22-c9caae9ff2c5","product_id":"3066d580-4e6c-4a49-be1a-c7509841edf6","title":"6619-black-M","weight_unit":"kg","inventory_quantity":999,"sku":"dobabies202409121503146619-black^M","barcode":"","position":1,"option1":"6619-black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/463af202643846e5b7a329734c2a6d79.jpeg","path":"463af202643846e5b7a329734c2a6d79.jpeg","width":800,"height":800,"alt":"sweatpants outfit men Casual Pants Men's Ankle-Length Ankle-Tied Pants Spring and Autumn New Straight Loose Harem Overalls Long Pants Men's Pants","aspect_ratio":1},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"35.99","retail_price":"0","available":true,"url":"\/products\/dobabies-sweatpants-outfit-men-casual-pants-mens-ankle-length-ankle-tied-pants-spring-and-autumn-new-straight-loose-harem-overalls-long-pants-mens-pants?variant=27d31926-d343-4762-9a22-c9caae9ff2c5","available_quantity":999,"options":[{"name":"Color","value":"6619-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}
`;
}()}