${function() {
const variantData = data.variant || {"id":"bd857a71-a9d2-4c12-ad8d-968a4eb2596e","product_id":"50ce5542-4943-4f47-9d7f-3078d1293abf","title":"Green-US6.5","weight_unit":"","inventory_quantity":1000,"sku":"-Green-6-A00122516","barcode":"","position":1,"option1":"Green","option2":"US6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99d41716d8e5ea4f252ede4972b5a04c.jpeg","path":"99d41716d8e5ea4f252ede4972b5a04c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"52.99","retail_price":"55.99","available":true,"url":"\/products\/mens-handmade-leather-loafers-comfortable-soft-flat-driving-shoe?variant=bd857a71-a9d2-4c12-ad8d-968a4eb2596e","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"US6.5"}],"off_ratio":5,"flashsale_info":[],"sales":30};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
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":"bd857a71-a9d2-4c12-ad8d-968a4eb2596e","product_id":"50ce5542-4943-4f47-9d7f-3078d1293abf","title":"Green-US6.5","weight_unit":"","inventory_quantity":1000,"sku":"-Green-6-A00122516","barcode":"","position":1,"option1":"Green","option2":"US6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99d41716d8e5ea4f252ede4972b5a04c.jpeg","path":"99d41716d8e5ea4f252ede4972b5a04c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"52.99","retail_price":"55.99","available":true,"url":"\/products\/mens-handmade-leather-loafers-comfortable-soft-flat-driving-shoe?variant=bd857a71-a9d2-4c12-ad8d-968a4eb2596e","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"US6.5"}],"off_ratio":5,"flashsale_info":[],"sales":30};
return `
`
}()}