${function() {
const variantData = data.variant || {"id":"8fa869ea-cf6a-4b5e-b054-ef9b90b97ca0","product_id":"66b2edb8-ebf7-44cb-bbd2-6cc33c0abbd6","title":"MLCT ","weight_unit":"kg","inventory_quantity":4,"sku":"","barcode":"","position":1,"option1":"MLCT ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":85,"min_quantity":1}],"weight":"1000","compare_at_price":"90","price":"85","retail_price":"90","available":true,"url":"\/products\/soybean-milk-powder-since-1989-nfqu?variant=8fa869ea-cf6a-4b5e-b054-ef9b90b97ca0","available_quantity":4,"options":[{"name":"Taste","value":"MLCT "}],"off_ratio":6,"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":"8fa869ea-cf6a-4b5e-b054-ef9b90b97ca0","product_id":"66b2edb8-ebf7-44cb-bbd2-6cc33c0abbd6","title":"MLCT ","weight_unit":"kg","inventory_quantity":4,"sku":"","barcode":"","position":1,"option1":"MLCT ","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":85,"min_quantity":1}],"weight":"1000","compare_at_price":"90","price":"85","retail_price":"90","available":true,"url":"\/products\/soybean-milk-powder-since-1989-nfqu?variant=8fa869ea-cf6a-4b5e-b054-ef9b90b97ca0","available_quantity":4,"options":[{"name":"Taste","value":"MLCT "}],"off_ratio":6,"flashsale_info":[],"sales":25};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}