DOBABIES-Cowl Hooded Shawl Autumn Winter Warm Scarf Hat Scarf for Women 83*54cm
${function() {
const variantData = data.variant || {"id":"d7ae51e8-8c11-4e61-b755-4884fb547283","product_id":"5824f235-2ced-4713-b7f7-b0a48f720591","title":"Green-80-100cm","weight_unit":"g","inventory_quantity":100,"sku":"DOBABIES2024-05-2114:175#Green;5:361386#80-100cm","barcode":"","position":1,"option1":"Green","option2":"80-100cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b62b7acc51d2d02b46a82034754d1839.jpeg","path":"b62b7acc51d2d02b46a82034754d1839.jpeg","width":800,"height":1067,"alt":"4.62E+13","aspect_ratio":0.7497656982193065},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"18.99","retail_price":"0","available":true,"url":"\/products\/dobabies-cowl-hooded-shawl-autumn-winter-warm-scarf-hat-scarf-for-women-83-54cm?variant=d7ae51e8-8c11-4e61-b755-4884fb547283","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"80-100cm"}],"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}
`;
}()}