${function() {
const variantData = data.variant || {"id":"e4b96917-c64b-4780-92ad-5388e9782bb3","product_id":"b6285ca9-e806-436f-8a83-0957feafdb23","title":"Red-4.5","weight_unit":"kg","inventory_quantity":1000,"sku":"womanshoes221010_8968_Red||4.5","barcode":"","position":1,"option1":"Red","option2":"4.5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fe1fde7db2e28af4e8a6b8e79942ab65.jpeg","path":"fe1fde7db2e28af4e8a6b8e79942ab65.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"49.99","retail_price":"79.99","available":true,"url":"\/products\/waterproof-snow-boots?variant=e4b96917-c64b-4780-92ad-5388e9782bb3","available_quantity":1000,"options":[{"name":"COLOR","value":"Red"},{"name":"SIZE","value":"4.5"}],"off_ratio":38,"flashsale_info":[],"sales":0};
const saveType = "amount";
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.