Double Pearl Butterfly Clavicle Necklace
${function() {
const variantData = data.variant || {"id":"94d88b96-5689-45f8-a916-ed6a08e68ad1","product_id":"061fb998-3594-47c5-aabb-140c746ff7dd","title":"N2104-8 Gold","weight_unit":"kg","inventory_quantity":0,"sku":"211119311-N2104-8 Gold","barcode":"","position":1,"option1":"N2104-8 Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2f267990e1d18a8558664917e11a3e14.jpeg","path":"2f267990e1d18a8558664917e11a3e14.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.04","compare_at_price":"28.04","price":"22.99","retail_price":"28.04","available":true,"url":"\/products\/double-pearl-butterfly-clavicle-necklace?variant=94d88b96-5689-45f8-a916-ed6a08e68ad1","available_quantity":999999999,"options":[{"name":"Color","value":"N2104-8 Gold"}],"off_ratio":18,"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":"94d88b96-5689-45f8-a916-ed6a08e68ad1","product_id":"061fb998-3594-47c5-aabb-140c746ff7dd","title":"N2104-8 Gold","weight_unit":"kg","inventory_quantity":0,"sku":"211119311-N2104-8 Gold","barcode":"","position":1,"option1":"N2104-8 Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2f267990e1d18a8558664917e11a3e14.jpeg","path":"2f267990e1d18a8558664917e11a3e14.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0.04","compare_at_price":"28.04","price":"22.99","retail_price":"28.04","available":true,"url":"\/products\/double-pearl-butterfly-clavicle-necklace?variant=94d88b96-5689-45f8-a916-ed6a08e68ad1","available_quantity":999999999,"options":[{"name":"Color","value":"N2104-8 Gold"}],"off_ratio":18,"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 `
`;
}()}