Personality Exaggerated Lion Head Necklace
${function() {
const variantData = data.variant || {"id":"ae1653b1-1656-42dd-b020-0dde7a5ce0ce","product_id":"5ee7f7e3-43b2-439c-986b-ac98159dea85","title":"Gold","weight_unit":"kg","inventory_quantity":474,"sku":"211203871-Gold","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f29fb3be394f3ebf32d2f1e917a2a602.jpeg","path":"f29fb3be394f3ebf32d2f1e917a2a602.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.31,"min_quantity":1}],"weight":"0.1","compare_at_price":"35.74","price":"29.31","retail_price":"35.74","available":true,"url":"\/products\/personality-exaggerated-lion-head-necklace?variant=ae1653b1-1656-42dd-b020-0dde7a5ce0ce","available_quantity":999999999,"options":[{"name":"Color","value":"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":"ae1653b1-1656-42dd-b020-0dde7a5ce0ce","product_id":"5ee7f7e3-43b2-439c-986b-ac98159dea85","title":"Gold","weight_unit":"kg","inventory_quantity":474,"sku":"211203871-Gold","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f29fb3be394f3ebf32d2f1e917a2a602.jpeg","path":"f29fb3be394f3ebf32d2f1e917a2a602.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.31,"min_quantity":1}],"weight":"0.1","compare_at_price":"35.74","price":"29.31","retail_price":"35.74","available":true,"url":"\/products\/personality-exaggerated-lion-head-necklace?variant=ae1653b1-1656-42dd-b020-0dde7a5ce0ce","available_quantity":999999999,"options":[{"name":"Color","value":"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 `
`;
}()}