${function() {
const variantData = data.variant || {"id":"7bc41568-bb82-408a-a3c8-175773e1827b","product_id":"3d092d0c-0957-4828-85e8-b9bd079eded4","title":"Multicolor-S","weight_unit":"kg","inventory_quantity":999,"sku":"099-240228-A01-MT0100BAFZ-Multicolor-S","barcode":"","position":1,"option1":"Multicolor","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f5bd147df8192e978d0542fb3f44d90f.jpeg","path":"f5bd147df8192e978d0542fb3f44d90f.jpeg","width":850,"height":1134,"alt":"","aspect_ratio":0.7495590828924162},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/funny-animal-butterfly-print-casual-long-sleeve?variant=7bc41568-bb82-408a-a3c8-175773e1827b","available_quantity":999999999,"options":[{"name":"Color","value":"Multicolor"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.