${function() {
const variantData = data.variant || {"id":"12f9e46b-1512-4c26-bfe8-d5fd85a118b8","product_id":"1878705c-42dc-4ec6-8a65-9045fde07ae2","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"MED-03","barcode":"3770011627004","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":85,"min_quantity":1}],"weight":"1","compare_at_price":"0","price":"85","retail_price":"0","available":true,"url":"\/products\/genouilleres-chauffantes?variant=12f9e46b-1512-4c26-bfe8-d5fd85a118b8","available_quantity":999999999,"options":[],"off_ratio":"0","flashsale_info":{"variant_id":"12f9e46b-1512-4c26-bfe8-d5fd85a118b8","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"85","compare_at_price":"","discount_price":"85","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":3};
const saveType = "amount";
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 : MED-03
Weight : 1kg
Barcode : 3770011627004
${function(){
const variantData = data.variant || {"id":"12f9e46b-1512-4c26-bfe8-d5fd85a118b8","product_id":"1878705c-42dc-4ec6-8a65-9045fde07ae2","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"MED-03","barcode":"3770011627004","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":85,"min_quantity":1}],"weight":"1","compare_at_price":"0","price":"85","retail_price":"0","available":true,"url":"\/products\/genouilleres-chauffantes?variant=12f9e46b-1512-4c26-bfe8-d5fd85a118b8","available_quantity":999999999,"options":[],"off_ratio":"0","flashsale_info":{"variant_id":"12f9e46b-1512-4c26-bfe8-d5fd85a118b8","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"85","compare_at_price":"","discount_price":"85","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}