Asymmetric Pearl Bracelet
${function() {
const variantData = data.variant || {"id":"b710e409-16ff-4d15-9922-7c66085731a3","product_id":"99d05821-f2ed-47c5-a03e-2f3110bbdc43","title":"Silver","weight_unit":"kg","inventory_quantity":29849,"sku":"2111091110-Silver","barcode":"","position":3,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/741ab0fc81c65f32168d0d6c5b55bb3c.jpeg","path":"741ab0fc81c65f32168d0d6c5b55bb3c.jpeg","width":850,"height":850,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.36,"min_quantity":1}],"weight":"0.1","compare_at_price":"30.55","price":"25.36","retail_price":"30.55","available":true,"url":"\/products\/asymmetric-pearl-bracelet?variant=b710e409-16ff-4d15-9922-7c66085731a3","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"}],"off_ratio":17,"flashsale_info":[],"sales":0};
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":"b710e409-16ff-4d15-9922-7c66085731a3","product_id":"99d05821-f2ed-47c5-a03e-2f3110bbdc43","title":"Silver","weight_unit":"kg","inventory_quantity":29849,"sku":"2111091110-Silver","barcode":"","position":3,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/741ab0fc81c65f32168d0d6c5b55bb3c.jpeg","path":"741ab0fc81c65f32168d0d6c5b55bb3c.jpeg","width":850,"height":850,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.36,"min_quantity":1}],"weight":"0.1","compare_at_price":"30.55","price":"25.36","retail_price":"30.55","available":true,"url":"\/products\/asymmetric-pearl-bracelet?variant=b710e409-16ff-4d15-9922-7c66085731a3","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"}],"off_ratio":17,"flashsale_info":[],"sales":0};
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 `
`;
}()}