${function() {
const variantData = data.variant || {"id":"d9778eb9-d1a5-4b81-9561-8be3b7704ff8","product_id":"fae13389-7023-41ba-b3eb-4f48678ebe0d","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":14.9,"min_quantity":1}],"weight":"0","compare_at_price":"24.9","price":"14.9","retail_price":"24.9","available":true,"url":"\/products\/chainsaw-sharpener?variant=d9778eb9-d1a5-4b81-9561-8be3b7704ff8","available_quantity":999999999,"options":[],"off_ratio":40,"flashsale_info":[],"sales":1};
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.
${function(){
const variantData = data.variant || {"id":"d9778eb9-d1a5-4b81-9561-8be3b7704ff8","product_id":"fae13389-7023-41ba-b3eb-4f48678ebe0d","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":14.9,"min_quantity":1}],"weight":"0","compare_at_price":"24.9","price":"14.9","retail_price":"24.9","available":true,"url":"\/products\/chainsaw-sharpener?variant=d9778eb9-d1a5-4b81-9561-8be3b7704ff8","available_quantity":999999999,"options":[],"off_ratio":40,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}