Hollow Cute Animal Butterfly Clavicle Long Pendants Necklaces
${function() {
const variantData = data.variant || {"id":"1d73be33-0ace-4e04-99e6-b7857ad6f097","product_id":"292d9f9c-4963-4032-a3c2-91611910bf1c","title":"Gold Color","weight_unit":"kg","inventory_quantity":0,"sku":"4301588227333-GoldColor","barcode":"","position":1,"option1":"Gold Color","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d64e8ece9a582ff46808815d831eab95.jpeg","path":"d64e8ece9a582ff46808815d831eab95.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":5.28,"min_quantity":1}],"weight":"0","compare_at_price":"6.44","price":"5.28","retail_price":"6.44","available":true,"url":"\/products\/hollow-cute-animal-butterfly-clavicle-long-pendants-necklaces-114f?variant=1d73be33-0ace-4e04-99e6-b7857ad6f097","available_quantity":999999999,"options":[{"name":"Metal Color","value":"Gold Color"}],"off_ratio":18,"flashsale_info":[],"sales":0};
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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.