${function() {
const variantData = data.variant || {"id":"91097a72-a36a-49d1-aede-e9448fe6db76","product_id":"30045776-d20c-49e0-a489-8f12d0bbb02c","title":"Brown-6.5","weight_unit":"","inventory_quantity":390,"sku":"-Brown-6.5-A00135193","barcode":"","position":1,"option1":"Brown","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c0b76b9b3311bc171007459f20d65b9.jpeg","path":"8c0b76b9b3311bc171007459f20d65b9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"48.99","retail_price":"49.99","available":true,"url":"\/products\/mens-casual-comfortable-leather-driving-shoes-handmade-flats-shoes?variant=91097a72-a36a-49d1-aede-e9448fe6db76","available_quantity":390,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"6.5"}],"off_ratio":2,"flashsale_info":[],"sales":38};
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":"91097a72-a36a-49d1-aede-e9448fe6db76","product_id":"30045776-d20c-49e0-a489-8f12d0bbb02c","title":"Brown-6.5","weight_unit":"","inventory_quantity":390,"sku":"-Brown-6.5-A00135193","barcode":"","position":1,"option1":"Brown","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8c0b76b9b3311bc171007459f20d65b9.jpeg","path":"8c0b76b9b3311bc171007459f20d65b9.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"48.99","retail_price":"49.99","available":true,"url":"\/products\/mens-casual-comfortable-leather-driving-shoes-handmade-flats-shoes?variant=91097a72-a36a-49d1-aede-e9448fe6db76","available_quantity":390,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"6.5"}],"off_ratio":2,"flashsale_info":[],"sales":38};
return `
`
}()}