Pink Animal Holiday Dress
${function() {
const variantData = data.variant || {"id":"673fa478-4a8b-4e9f-907c-fc70e5979767","product_id":"b3d91c80-1987-45b3-8563-5684c3ca97f8","title":"pink-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"66220706321-pink-2XL","barcode":"","position":1,"option1":"pink","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3cb1760a16db4afbec6e7e5b8f8d1113.jpeg","path":"3cb1760a16db4afbec6e7e5b8f8d1113.jpeg","width":800,"height":1000,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":41.79,"min_quantity":1}],"weight":"0","compare_at_price":"53","price":"41.79","retail_price":"53","available":true,"url":"\/products\/pink-animal-holiday-dress?variant=673fa478-4a8b-4e9f-907c-fc70e5979767","available_quantity":999999999,"options":[{"name":"Color","value":"pink"},{"name":"Size","value":"2XL"}],"off_ratio":21,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minDays = parseInt('8');
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}
`;
}()}
${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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.