Dobabies camo pants outfit men American Street Branch Camouflage Vintage Workwear Jeans Men's High Street Loose Niche Design Wide Leg Casual Pants
${function() {
const variantData = data.variant || {"id":"ebc89013-634e-4a51-99de-885334136003","product_id":"d2a70370-866a-4c41-90b0-997bd89d7c8a","title":"branch pattern-S","weight_unit":"kg","inventory_quantity":999,"sku":"dobabies20240912151349branch pattern^S","barcode":"","position":1,"option1":"branch pattern","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a7f86b2caf249d01df7263d156d6dbe.jpeg","path":"0a7f86b2caf249d01df7263d156d6dbe.jpeg","width":800,"height":800,"alt":"camo pants outfit men American Street Branch Camouflage Vintage Workwear Jeans Men's High Street Loose Niche Design Wide Leg 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-street-branch-camouflage-vintage-workwear-jeans-mens-high-street-loose-niche-design-wide-leg-casual-pants?variant=ebc89013-634e-4a51-99de-885334136003","available_quantity":999,"options":[{"name":"Color","value":"branch pattern"},{"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}
`;
}()}