New Vintage Rose Gold Color Multiple Dangle Small Circle Hoop Earrings for Women серьги Jewelry Steampunk Ear Clip Gift
${function() {
const variantData = data.variant || {"id":"954c2b60-1912-4e58-ace3-97e9847b917c","product_id":"3ff9fcd1-e743-4ca0-821a-fbea92418245","title":"15MM GOLD","weight_unit":"lb","inventory_quantity":7871,"sku":"200001034:361188#15MM GOLD","barcode":"","position":1,"option1":"15MM GOLD","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7013a9b7ebca3495ebc617664f9409cc.jpeg","path":"7013a9b7ebca3495ebc617664f9409cc.jpeg","width":1000,"height":1000,"alt":"49219371598121","aspect_ratio":1},"wholesale_price":[{"price":8.57,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"8.57","retail_price":"0","available":true,"url":"\/products\/2021-new-vintage-rose-gold-color-multiple-dangle-small-circle-hoop-earrings-for-women-\u0441\u0435\u0440\u044c\u0433\u0438-jewelry-steampunk-ear-clip-gift?variant=954c2b60-1912-4e58-ace3-97e9847b917c","available_quantity":7871,"options":[{"name":"Metal Color","value":"15MM GOLD"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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}
`;
}()}
${function() {
const postageFreeAmount = 19.99;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
${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":"954c2b60-1912-4e58-ace3-97e9847b917c","product_id":"3ff9fcd1-e743-4ca0-821a-fbea92418245","title":"15MM GOLD","weight_unit":"lb","inventory_quantity":7871,"sku":"200001034:361188#15MM GOLD","barcode":"","position":1,"option1":"15MM GOLD","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7013a9b7ebca3495ebc617664f9409cc.jpeg","path":"7013a9b7ebca3495ebc617664f9409cc.jpeg","width":1000,"height":1000,"alt":"49219371598121","aspect_ratio":1},"wholesale_price":[{"price":8.57,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"8.57","retail_price":"0","available":true,"url":"\/products\/2021-new-vintage-rose-gold-color-multiple-dangle-small-circle-hoop-earrings-for-women-\u0441\u0435\u0440\u044c\u0433\u0438-jewelry-steampunk-ear-clip-gift?variant=954c2b60-1912-4e58-ace3-97e9847b917c","available_quantity":7871,"options":[{"name":"Metal Color","value":"15MM GOLD"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}