Vintage Elegant Freshwater Pearl Love Necklace Bracelet
${function() {
const variantData = data.variant || {"id":"0b0da245-c5e1-4ff7-aade-29d6cf189e23","product_id":"0498dada-f57c-40b3-a778-c68ae390ad88","title":"Pink Bracelet","weight_unit":"kg","inventory_quantity":189,"sku":"211119309-Pink Bracelet","barcode":"","position":3,"option1":"Pink Bracelet","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b07aa8f8344717eb49211508d137097.jpeg","path":"0b07aa8f8344717eb49211508d137097.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.55,"min_quantity":1}],"weight":"0.1","compare_at_price":"31.94","price":"25.55","retail_price":"31.94","available":true,"url":"\/products\/vintage-elegant-freshwater-pearl-love-necklace-bracelet?variant=0b0da245-c5e1-4ff7-aade-29d6cf189e23","available_quantity":999999999,"options":[{"name":"Color","value":"Pink Bracelet"}],"off_ratio":20,"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":"0b0da245-c5e1-4ff7-aade-29d6cf189e23","product_id":"0498dada-f57c-40b3-a778-c68ae390ad88","title":"Pink Bracelet","weight_unit":"kg","inventory_quantity":189,"sku":"211119309-Pink Bracelet","barcode":"","position":3,"option1":"Pink Bracelet","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b07aa8f8344717eb49211508d137097.jpeg","path":"0b07aa8f8344717eb49211508d137097.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.55,"min_quantity":1}],"weight":"0.1","compare_at_price":"31.94","price":"25.55","retail_price":"31.94","available":true,"url":"\/products\/vintage-elegant-freshwater-pearl-love-necklace-bracelet?variant=0b0da245-c5e1-4ff7-aade-29d6cf189e23","available_quantity":999999999,"options":[{"name":"Color","value":"Pink Bracelet"}],"off_ratio":20,"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 `
`;
}()}