${function() {
const variantData = data.variant || {"id":"ae8937bf-0b45-46e5-a367-183d70516105","product_id":"f5858e41-128b-4295-9fe1-7674e5678b6e","title":"Black Orange-6.5","weight_unit":"","inventory_quantity":1000,"sku":"-Black Orange-6.5-A00143956","barcode":"","position":1,"option1":"Black Orange","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d88360a716698b01b658d7f0d69b01cb.jpeg","path":"d88360a716698b01b658d7f0d69b01cb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"49.99","retail_price":"55.99","available":true,"url":"\/products\/mens-genuine-leather-sandals-breathable-casual-shoes?variant=ae8937bf-0b45-46e5-a367-183d70516105","available_quantity":1000,"options":[{"name":"Color","value":"Black Orange"},{"name":"Size","value":"6.5"}],"off_ratio":11,"flashsale_info":[],"sales":12};
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":"ae8937bf-0b45-46e5-a367-183d70516105","product_id":"f5858e41-128b-4295-9fe1-7674e5678b6e","title":"Black Orange-6.5","weight_unit":"","inventory_quantity":1000,"sku":"-Black Orange-6.5-A00143956","barcode":"","position":1,"option1":"Black Orange","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d88360a716698b01b658d7f0d69b01cb.jpeg","path":"d88360a716698b01b658d7f0d69b01cb.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"49.99","retail_price":"55.99","available":true,"url":"\/products\/mens-genuine-leather-sandals-breathable-casual-shoes?variant=ae8937bf-0b45-46e5-a367-183d70516105","available_quantity":1000,"options":[{"name":"Color","value":"Black Orange"},{"name":"Size","value":"6.5"}],"off_ratio":11,"flashsale_info":[],"sales":12};
return `
`
}()}