Pearl Butterfly Clavicle Necklace
${function() {
const variantData = data.variant || {"id":"c71125a9-0004-45e3-a67e-12d0c97cf5c9","product_id":"ccef2d59-9879-4a76-abfc-50096b11e866","title":"N2107-1 White","weight_unit":"kg","inventory_quantity":0,"sku":"211125584-N2107-1 White","barcode":"","position":1,"option1":"N2107-1 White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a25bcaa1527ddd11614482954a6dd2bc.jpeg","path":"a25bcaa1527ddd11614482954a6dd2bc.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.95,"min_quantity":1}],"weight":"0.04","compare_at_price":"29.94","price":"23.95","retail_price":"29.94","available":true,"url":"\/products\/pearl-butterfly-clavicle-necklace?variant=c71125a9-0004-45e3-a67e-12d0c97cf5c9","available_quantity":999999999,"options":[{"name":"Color","value":"N2107-1 White"}],"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":"c71125a9-0004-45e3-a67e-12d0c97cf5c9","product_id":"ccef2d59-9879-4a76-abfc-50096b11e866","title":"N2107-1 White","weight_unit":"kg","inventory_quantity":0,"sku":"211125584-N2107-1 White","barcode":"","position":1,"option1":"N2107-1 White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a25bcaa1527ddd11614482954a6dd2bc.jpeg","path":"a25bcaa1527ddd11614482954a6dd2bc.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.95,"min_quantity":1}],"weight":"0.04","compare_at_price":"29.94","price":"23.95","retail_price":"29.94","available":true,"url":"\/products\/pearl-butterfly-clavicle-necklace?variant=c71125a9-0004-45e3-a67e-12d0c97cf5c9","available_quantity":999999999,"options":[{"name":"Color","value":"N2107-1 White"}],"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 `
`;
}()}