${function() {
const variantData = data.variant || {"id":"431f07c4-aa8a-4070-9d46-2ed2f92d7ed1","product_id":"5fb50f2d-b808-4dbc-8def-f20a3b714077","title":"Brown-6.5","weight_unit":"kg","inventory_quantity":99,"sku":"D22120907-Brown-6.5","barcode":"","position":1,"option1":"Brown","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fbd3aa5238905d753f102a590194dd9d.jpeg","path":"fbd3aa5238905d753f102a590194dd9d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"1.2","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/mens-oxfords-leather-office-lace-up-dress-shoes?variant=431f07c4-aa8a-4070-9d46-2ed2f92d7ed1","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"6.5"}],"off_ratio":7,"flashsale_info":[],"sales":4};
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":"431f07c4-aa8a-4070-9d46-2ed2f92d7ed1","product_id":"5fb50f2d-b808-4dbc-8def-f20a3b714077","title":"Brown-6.5","weight_unit":"kg","inventory_quantity":99,"sku":"D22120907-Brown-6.5","barcode":"","position":1,"option1":"Brown","option2":"6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fbd3aa5238905d753f102a590194dd9d.jpeg","path":"fbd3aa5238905d753f102a590194dd9d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":55.99,"min_quantity":1}],"weight":"1.2","compare_at_price":"59.99","price":"55.99","retail_price":"59.99","available":true,"url":"\/products\/mens-oxfords-leather-office-lace-up-dress-shoes?variant=431f07c4-aa8a-4070-9d46-2ed2f92d7ed1","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"6.5"}],"off_ratio":7,"flashsale_info":[],"sales":4};
return `
`
}()}