${function() {
const variantData = data.variant || {"id":"24d87947-a8f7-4fad-b107-6a4d60003f1c","product_id":"3e347ef6-6a7a-4f83-955d-e30eed22bd78","title":"","weight_unit":"kg","inventory_quantity":9,"sku":"2023071001","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"560g","image":null,"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0.7","compare_at_price":"25","price":"15","retail_price":"25","available":true,"url":"\/products\/soybean-milk-powder-since-1989-560g-cpw8?variant=24d87947-a8f7-4fad-b107-6a4d60003f1c","available_quantity":9,"options":[],"off_ratio":40,"flashsale_info":[],"sales":126};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
Sku : 2023071001
Weight : 0.7kg
${function(){
const variantData = data.variant || {"id":"24d87947-a8f7-4fad-b107-6a4d60003f1c","product_id":"3e347ef6-6a7a-4f83-955d-e30eed22bd78","title":"","weight_unit":"kg","inventory_quantity":9,"sku":"2023071001","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"560g","image":null,"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"0.7","compare_at_price":"25","price":"15","retail_price":"25","available":true,"url":"\/products\/soybean-milk-powder-since-1989-560g-cpw8?variant=24d87947-a8f7-4fad-b107-6a4d60003f1c","available_quantity":9,"options":[],"off_ratio":40,"flashsale_info":[],"sales":126};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}