${function() {
const variantData = data.variant || {"id":"fbf2d970-23b8-4a62-bf73-551b0de98cc0","product_id":"d31332a6-1fe2-4600-ad2b-fb37a90376f2","title":"\u3010 1 entry \u3011","weight_unit":"kg","inventory_quantity":-1,"sku":"YCTL443","barcode":"","position":1,"option1":"\u3010 1 entry \u3011","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a225555dcb27b4cabeb133547602d79.jpg","path":"4a225555dcb27b4cabeb133547602d79.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.95,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"15.95","retail_price":"29.99","available":true,"url":"\/products\/elegant-multi-layered-magnetic-clasp-heart-pendant-necklace-with-rhinestones-copper-material-womens-vacation-daily-wear-korean-style-jewelry-ideal-for-parties-and-date-night-gift?variant=fbf2d970-23b8-4a62-bf73-551b0de98cc0","available_quantity":999999999,"options":[{"name":"style","value":"\u3010 1 entry \u3011"}],"off_ratio":47,"flashsale_info":[],"sales":26414};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${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 variantData = data.variant || {"id":"fbf2d970-23b8-4a62-bf73-551b0de98cc0","product_id":"d31332a6-1fe2-4600-ad2b-fb37a90376f2","title":"\u3010 1 entry \u3011","weight_unit":"kg","inventory_quantity":-1,"sku":"YCTL443","barcode":"","position":1,"option1":"\u3010 1 entry \u3011","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a225555dcb27b4cabeb133547602d79.jpg","path":"4a225555dcb27b4cabeb133547602d79.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.95,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"15.95","retail_price":"29.99","available":true,"url":"\/products\/elegant-multi-layered-magnetic-clasp-heart-pendant-necklace-with-rhinestones-copper-material-womens-vacation-daily-wear-korean-style-jewelry-ideal-for-parties-and-date-night-gift?variant=fbf2d970-23b8-4a62-bf73-551b0de98cc0","available_quantity":999999999,"options":[{"name":"style","value":"\u3010 1 entry \u3011"}],"off_ratio":47,"flashsale_info":[],"sales":26414};
return `
`
}()}
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('13');
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 `
`;
}()}