Trendy Metal Necklace
${function() {
const variantData = data.variant || {"id":"94ca91af-6c28-4514-abb2-32ae180cd2e3","product_id":"4efcb7b8-4e73-4ca5-bc68-77a4848542d8","title":"Ghost Hand Ring Necklace","weight_unit":"g","inventory_quantity":999,"sku":"cade8bee-cb5a-462b-a4fd-024c005edb9d","barcode":"","position":3,"option1":"Ghost Hand Ring Necklace","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e2774b4bd8ca3f24bbbc5abc3719ee9c.jpeg","path":"e2774b4bd8ca3f24bbbc5abc3719ee9c.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=94ca91af-6c28-4514-abb2-32ae180cd2e3","available_quantity":999999999,"options":[{"name":"Color","value":"Ghost Hand Ring 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