${function() {
const variantData = data.variant || {"id":"e8e04602-f131-428a-83bf-e35ce669dc44","product_id":"19ab8d7a-d2f5-468c-b93e-f48dc2778ba9","title":"MLCT ","weight_unit":"kg","inventory_quantity":12,"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-fn45?variant=e8e04602-f131-428a-83bf-e35ce669dc44","available_quantity":12,"options":[{"name":"Taste","value":"MLCT "}],"off_ratio":0,"flashsale_info":[],"sales":125};
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":"e8e04602-f131-428a-83bf-e35ce669dc44","product_id":"19ab8d7a-d2f5-468c-b93e-f48dc2778ba9","title":"MLCT ","weight_unit":"kg","inventory_quantity":12,"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-fn45?variant=e8e04602-f131-428a-83bf-e35ce669dc44","available_quantity":12,"options":[{"name":"Taste","value":"MLCT "}],"off_ratio":0,"flashsale_info":[],"sales":125};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}