Trendy Metal Necklace
${function() {
const variantData = data.variant || {"id":"d7f0f07b-28ea-4a86-b72b-f3e04179a6c4","product_id":"4efcb7b8-4e73-4ca5-bc68-77a4848542d8","title":"Cross necklace","weight_unit":"g","inventory_quantity":999,"sku":"9fbceda0-5624-40fd-83d5-1e30119e8536","barcode":"","position":2,"option1":"Cross necklace","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c21ed1fa18ac791a8f78db10efe739b5.jpeg","path":"c21ed1fa18ac791a8f78db10efe739b5.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=d7f0f07b-28ea-4a86-b72b-f3e04179a6c4","available_quantity":999999999,"options":[{"name":"Color","value":"Cross necklace"}],"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