DOBABIES-Color Block Distressed Leather Jacket Short Style 2024 Early Spring Crop Coat
${function() {
const variantData = data.variant || {"id":"8817cccc-77ed-48e5-b025-79c56799711e","product_id":"ed6b3303-d260-42c1-9b3e-5d03f3136696","title":"Dark gray-One Size","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2214:691#Dark gray;5:100014064#One Size","barcode":"","position":1,"option1":"Dark gray","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d2f11bd646f2dd71e625585cdd8962e9.jpeg","path":"d2f11bd646f2dd71e625585cdd8962e9.jpeg","width":800,"height":800,"alt":"4.62E+13","aspect_ratio":1},"wholesale_price":[{"price":111.88,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"111.88","retail_price":"0","available":true,"url":"\/products\/dobabies-color-block-distressed-leather-jacket-short-style-2024-early-spring-crop-coat?variant=8817cccc-77ed-48e5-b025-79c56799711e","available_quantity":999999999,"options":[{"name":"Color","value":"Dark gray"},{"name":"Size","value":"One Size"}],"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}
`;
}()}