Fashion 26 letter necklace
${function() {
const variantData = data.variant || {"id":"23ba5155-36d6-4f82-8a62-883967af2918","product_id":"e262e494-2d33-4948-b194-9c3b61a57c3d","title":"silver-A","weight_unit":"kg","inventory_quantity":0,"sku":"662112131340-silver-A","barcode":"","position":53,"option1":"silver","option2":"A","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e71259aa25e9103b87721daafaead83.jpeg","path":"2e71259aa25e9103b87721daafaead83.jpeg","width":983,"height":852,"alt":"","aspect_ratio":1.153755868544601},"wholesale_price":[{"price":23.76,"min_quantity":1}],"weight":"0","compare_at_price":"29.33","price":"23.76","retail_price":"29.33","available":true,"url":"\/products\/fashion-26-letter-necklace?variant=23ba5155-36d6-4f82-8a62-883967af2918","available_quantity":999999999,"options":[{"name":"color","value":"silver"},{"name":"Style","value":"A"}],"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}
`
}()}
${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":"23ba5155-36d6-4f82-8a62-883967af2918","product_id":"e262e494-2d33-4948-b194-9c3b61a57c3d","title":"silver-A","weight_unit":"kg","inventory_quantity":0,"sku":"662112131340-silver-A","barcode":"","position":53,"option1":"silver","option2":"A","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e71259aa25e9103b87721daafaead83.jpeg","path":"2e71259aa25e9103b87721daafaead83.jpeg","width":983,"height":852,"alt":"","aspect_ratio":1.153755868544601},"wholesale_price":[{"price":23.76,"min_quantity":1}],"weight":"0","compare_at_price":"29.33","price":"23.76","retail_price":"29.33","available":true,"url":"\/products\/fashion-26-letter-necklace?variant=23ba5155-36d6-4f82-8a62-883967af2918","available_quantity":999999999,"options":[{"name":"color","value":"silver"},{"name":"Style","value":"A"}],"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 `
`;
}()}