${function() {
const variantData = data.variant || {"id":"8fb46012-0df7-4044-82b2-8cb03944a71a","product_id":"599bf39d-506a-4412-ba89-b9bee52c6c1d","title":"Brown-US6.5","weight_unit":"","inventory_quantity":1982,"sku":"-Brown-38-A00135237","barcode":"","position":1,"option1":"Brown","option2":"US6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/edc491ecff973550522ca5827049e6db.jpg","path":"edc491ecff973550522ca5827049e6db.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"59.99","retail_price":"0","available":true,"url":"\/products\/mens-genuine-leather-comfortable-casual-outdoor-waterproof-ankle-boots?variant=8fb46012-0df7-4044-82b2-8cb03944a71a","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"US6.5"}],"off_ratio":0,"flashsale_info":[],"sales":948};
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":"8fb46012-0df7-4044-82b2-8cb03944a71a","product_id":"599bf39d-506a-4412-ba89-b9bee52c6c1d","title":"Brown-US6.5","weight_unit":"","inventory_quantity":1982,"sku":"-Brown-38-A00135237","barcode":"","position":1,"option1":"Brown","option2":"US6.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/edc491ecff973550522ca5827049e6db.jpg","path":"edc491ecff973550522ca5827049e6db.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"59.99","retail_price":"0","available":true,"url":"\/products\/mens-genuine-leather-comfortable-casual-outdoor-waterproof-ankle-boots?variant=8fb46012-0df7-4044-82b2-8cb03944a71a","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"US6.5"}],"off_ratio":0,"flashsale_info":[],"sales":948};
return `
`
}()}