Nordic Style Pearl Pendant Necklace
${function() {
const variantData = data.variant || {"id":"48b6d808-209b-4f46-8bdc-197e0802e8bc","product_id":"6448d140-b100-49c2-af90-21c06d88dc1e","title":"Rose Gold","weight_unit":"kg","inventory_quantity":0,"sku":"211124511-Rose Gold","barcode":"","position":1,"option1":"Rose Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a3aaf8634b6aaf2ff78891f184af0ef.jpeg","path":"6a3aaf8634b6aaf2ff78891f184af0ef.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.41,"min_quantity":1}],"weight":"0.03","compare_at_price":"28.9","price":"23.41","retail_price":"28.9","available":true,"url":"\/products\/nordic-style-pearl-pendant-necklace?variant=48b6d808-209b-4f46-8bdc-197e0802e8bc","available_quantity":999999999,"options":[{"name":"Color","value":"Rose Gold"}],"off_ratio":19,"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":"48b6d808-209b-4f46-8bdc-197e0802e8bc","product_id":"6448d140-b100-49c2-af90-21c06d88dc1e","title":"Rose Gold","weight_unit":"kg","inventory_quantity":0,"sku":"211124511-Rose Gold","barcode":"","position":1,"option1":"Rose Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6a3aaf8634b6aaf2ff78891f184af0ef.jpeg","path":"6a3aaf8634b6aaf2ff78891f184af0ef.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.41,"min_quantity":1}],"weight":"0.03","compare_at_price":"28.9","price":"23.41","retail_price":"28.9","available":true,"url":"\/products\/nordic-style-pearl-pendant-necklace?variant=48b6d808-209b-4f46-8bdc-197e0802e8bc","available_quantity":999999999,"options":[{"name":"Color","value":"Rose Gold"}],"off_ratio":19,"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 `
`;
}()}