Boho Drop Tassel Earrings
${function() {
const variantData = data.variant || {"id":"bf94e840-6f87-4eae-a1b9-ff99ec7ed3bd","product_id":"b3301c35-6094-4c3a-a5b8-2be99e7a87fb","title":"black","weight_unit":"kg","inventory_quantity":0,"sku":"662302013677-black","barcode":"","position":3,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/031a120349ce2f27a9afc63cbc993ffc.jpeg","path":"031a120349ce2f27a9afc63cbc993ffc.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"13","price":"8.99","retail_price":"13","available":true,"url":"\/products\/boho-drop-tassel-earrings?variant=bf94e840-6f87-4eae-a1b9-ff99ec7ed3bd","available_quantity":999999999,"options":[{"name":"color","value":"black"}],"off_ratio":31,"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":"bf94e840-6f87-4eae-a1b9-ff99ec7ed3bd","product_id":"b3301c35-6094-4c3a-a5b8-2be99e7a87fb","title":"black","weight_unit":"kg","inventory_quantity":0,"sku":"662302013677-black","barcode":"","position":3,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/031a120349ce2f27a9afc63cbc993ffc.jpeg","path":"031a120349ce2f27a9afc63cbc993ffc.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"13","price":"8.99","retail_price":"13","available":true,"url":"\/products\/boho-drop-tassel-earrings?variant=bf94e840-6f87-4eae-a1b9-ff99ec7ed3bd","available_quantity":999999999,"options":[{"name":"color","value":"black"}],"off_ratio":31,"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 `
`;
}()}