Dobabies camo pants outfit men American Retro High Street Overalls Leaves Camouflage Functional Heavy-Duty Striped Wide-Leg Pants Loose Casual Pants
${function() {
const variantData = data.variant || {"id":"ffafbc6e-aabc-43e9-8d5b-eb3e435eb2a3","product_id":"07db9871-1f2f-457f-a398-bceabfafcab5","title":"camouflage-S","weight_unit":"kg","inventory_quantity":999,"sku":"dobabies20240912151655camouflage^S","barcode":"","position":1,"option1":"camouflage","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/00273e92ec1df7977b911a3a3a339f5c.jpeg","path":"00273e92ec1df7977b911a3a3a339f5c.jpeg","width":709,"height":709,"alt":"camo pants outfit men American Retro High Street Overalls Leaves Camouflage Functional Heavy-Duty Striped Wide-Leg Pants Loose Casual 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-camo-pants-outfit-men-american-retro-high-street-overalls-leaves-camouflage-functional-heavy-duty-striped-wide-leg-pants-loose-casual-pants?variant=ffafbc6e-aabc-43e9-8d5b-eb3e435eb2a3","available_quantity":999,"options":[{"name":"Color","value":"camouflage"},{"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}
`;
}()}