Metal Gold Flower ZA Big Statement Drop Earrings for Women New Fashion Hyperbole Party Jewelry for Women Gift
${function() {
const variantData = data.variant || {"id":"a92b8fd6-e841-4f17-89bd-9e75e13919ca","product_id":"6d2a68a2-5b86-42fc-8adf-c1737065e8c0","title":"Gold-color","weight_unit":"lb","inventory_quantity":44,"sku":"200001034:361181","barcode":"","position":1,"option1":"Gold-color","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71880c4c97d87d74b4faa77cd273a8a4.jpeg","path":"71880c4c97d87d74b4faa77cd273a8a4.jpeg","width":1500,"height":1500,"alt":"48508073935145","aspect_ratio":1},"wholesale_price":[{"price":11.58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"11.58","retail_price":"0","available":true,"url":"\/products\/wholesale-metal-gold-flower-za-big-statement-drop-earrings-for-women-2024-new-fashion-hyperbole-party-jewelry-for-women-gift?variant=a92b8fd6-e841-4f17-89bd-9e75e13919ca","available_quantity":44,"options":[{"name":"Metal Color","value":"Gold-color"}],"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":"a92b8fd6-e841-4f17-89bd-9e75e13919ca","product_id":"6d2a68a2-5b86-42fc-8adf-c1737065e8c0","title":"Gold-color","weight_unit":"lb","inventory_quantity":44,"sku":"200001034:361181","barcode":"","position":1,"option1":"Gold-color","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71880c4c97d87d74b4faa77cd273a8a4.jpeg","path":"71880c4c97d87d74b4faa77cd273a8a4.jpeg","width":1500,"height":1500,"alt":"48508073935145","aspect_ratio":1},"wholesale_price":[{"price":11.58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"11.58","retail_price":"0","available":true,"url":"\/products\/wholesale-metal-gold-flower-za-big-statement-drop-earrings-for-women-2024-new-fashion-hyperbole-party-jewelry-for-women-gift?variant=a92b8fd6-e841-4f17-89bd-9e75e13919ca","available_quantity":44,"options":[{"name":"Metal Color","value":"Gold-color"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}