Dobabies sweatpants outfit men American High Street Retro Overalls Jeans Men's Early Autumn Design Loose Wide Leg Casual Straight Long Pants Fashion
${function() {
const variantData = data.variant || {"id":"d9ee4229-337a-48d2-909e-c26146371b63","product_id":"ebe1c088-a8c0-49d6-a2f7-89114d6e00d2","title":"Brown-S","weight_unit":"kg","inventory_quantity":999,"sku":"dobabies20240912150410Brown^S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d22a0bdde56312e9f5af2b0087dae6f0.jpeg","path":"d22a0bdde56312e9f5af2b0087dae6f0.jpeg","width":725,"height":725,"alt":"sweatpants outfit men American High Street Retro Overalls Jeans Men's Early Autumn Design Loose Wide Leg Casual Straight Long Pants Fashion","aspect_ratio":1},"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"41.99","retail_price":"0","available":true,"url":"\/products\/dobabies-sweatpants-outfit-men-american-high-street-retro-overalls-jeans-mens-early-autumn-design-loose-wide-leg-casual-straight-long-pants-fashion?variant=d9ee4229-337a-48d2-909e-c26146371b63","available_quantity":999,"options":[{"name":"Color","value":"Brown"},{"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}
`;
}()}