${function() {
const variantData = data.variant || {"id":"6284262a-d4b3-46d1-81aa-9a75f55cb12f","product_id":"76a54b81-e76d-4f61-a15b-eae1b8ae1216","title":"khaki","weight_unit":"kg","inventory_quantity":0,"sku":"662209192544-khaki","barcode":"","position":1,"option1":"khaki","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/10130f4040a41e3a796de0287646d486.jpeg","path":"10130f4040a41e3a796de0287646d486.jpeg","width":800,"height":800,"alt":"Simple Vintage Knit Tote Bag","aspect_ratio":1},"wholesale_price":[{"price":28.69,"min_quantity":1}],"weight":"0.25","compare_at_price":"44.34","price":"28.69","retail_price":"44.34","available":true,"url":"\/products\/simple-vintage-knit-tote-bag?variant=6284262a-d4b3-46d1-81aa-9a75f55cb12f","available_quantity":999999999,"options":[{"name":"color","value":"khaki"}],"off_ratio":35,"flashsale_info":[],"sales":0};
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}
`
}()}
Product was out of stock.
Product is unavailable.