Asymmetrical OT Buckle Chocker/Necklace
${function() {
const variantData = data.variant || {"id":"124082b8-a8b7-4fc3-bf2f-8bf36cab9122","product_id":"cbae0987-efd8-49be-a3f8-49c46c6427e6","title":"Silver","weight_unit":"kg","inventory_quantity":0,"sku":"2111101187-Silver","barcode":"","position":2,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d0fc4f5cef895d8dce1a6537dbfcf220.jpeg","path":"d0fc4f5cef895d8dce1a6537dbfcf220.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.7,"min_quantity":1}],"weight":"0.01","compare_at_price":"8.17","price":"6.7","retail_price":"8.17","available":true,"url":"\/products\/asymmetrical-ot-buckle-chockernecklace?variant=124082b8-a8b7-4fc3-bf2f-8bf36cab9122","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"}],"off_ratio":18,"flashsale_info":[],"sales":1};
const saveType = "amount";
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 variantData = data.variant || {"id":"124082b8-a8b7-4fc3-bf2f-8bf36cab9122","product_id":"cbae0987-efd8-49be-a3f8-49c46c6427e6","title":"Silver","weight_unit":"kg","inventory_quantity":0,"sku":"2111101187-Silver","barcode":"","position":2,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d0fc4f5cef895d8dce1a6537dbfcf220.jpeg","path":"d0fc4f5cef895d8dce1a6537dbfcf220.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.7,"min_quantity":1}],"weight":"0.01","compare_at_price":"8.17","price":"6.7","retail_price":"8.17","available":true,"url":"\/products\/asymmetrical-ot-buckle-chockernecklace?variant=124082b8-a8b7-4fc3-bf2f-8bf36cab9122","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"}],"off_ratio":18,"flashsale_info":[],"sales":1};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
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 `
`;
}()}