${function() {
const variantData = data.variant || {"id":"78259c91-16e6-480c-9e57-36e685ec97c2","product_id":"c2d76b76-6b69-4805-83c5-b0b5de9b795c","title":"MLCT ","weight_unit":"kg","inventory_quantity":4,"sku":"","barcode":"","position":1,"option1":"MLCT ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"1000","compare_at_price":"20","price":"20","retail_price":"20","available":true,"url":"\/products\/soybean-milk-powder-since-1989-sluz?variant=78259c91-16e6-480c-9e57-36e685ec97c2","available_quantity":4,"options":[{"name":"Taste","value":"MLCT "}],"off_ratio":0,"flashsale_info":[],"sales":25};
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.
${function(){
const variantData = data.variant || {"id":"78259c91-16e6-480c-9e57-36e685ec97c2","product_id":"c2d76b76-6b69-4805-83c5-b0b5de9b795c","title":"MLCT ","weight_unit":"kg","inventory_quantity":4,"sku":"","barcode":"","position":1,"option1":"MLCT ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":20,"min_quantity":1}],"weight":"1000","compare_at_price":"20","price":"20","retail_price":"20","available":true,"url":"\/products\/soybean-milk-powder-since-1989-sluz?variant=78259c91-16e6-480c-9e57-36e685ec97c2","available_quantity":4,"options":[{"name":"Taste","value":"MLCT "}],"off_ratio":0,"flashsale_info":[],"sales":25};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}