Vintage Ethnic Style Alloy Necklace
${function() {
const variantData = data.variant || {"id":"e74b8703-d557-467a-bea3-bd3613801207","product_id":"6d330ac5-6a9c-471a-9846-7fcfc6fbe061","title":"Golden","weight_unit":"kg","inventory_quantity":74931,"sku":"FXHN2208171035-Golden","barcode":"","position":1,"option1":"Golden","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a40a3122f4198d528a6ca3100b55034f.jpeg","path":"a40a3122f4198d528a6ca3100b55034f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.6,"min_quantity":1}],"weight":"0.1","compare_at_price":"18.6","price":"10.6","retail_price":"18.6","available":true,"url":"\/products\/vintage-ethnic-style-alloy-necklace?variant=e74b8703-d557-467a-bea3-bd3613801207","available_quantity":999999999,"options":[{"name":"color","value":"Golden"}],"off_ratio":43,"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.