Trendy Metal Necklace
${function() {
const variantData = data.variant || {"id":"b7ad923e-4a0f-4cce-9d27-77fb09c70735","product_id":"4efcb7b8-4e73-4ca5-bc68-77a4848542d8","title":"Cross ring combination","weight_unit":"g","inventory_quantity":999,"sku":"e0b5b451-d5b1-4ea7-93ca-793721177bb3","barcode":"","position":1,"option1":"Cross ring combination","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48bb3bd2b19feae2f40a306945d94dae.jpeg","path":"48bb3bd2b19feae2f40a306945d94dae.jpeg","width":760,"height":760,"alt":"Trendy Metal Necklace","aspect_ratio":1},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"70","compare_at_price":"17.99","price":"8.99","retail_price":"17.99","available":true,"url":"\/products\/trendy-metal-necklace?variant=b7ad923e-4a0f-4cce-9d27-77fb09c70735","available_quantity":999999999,"options":[{"name":"Color","value":"Cross ring combination"}],"off_ratio":50,"flashsale_info":[],"sales":48};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${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 postageFreeAmount = 89;
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 `
`;
}()}
Free Shipping on Orders Over $89