${function() {
const variantData = data.variant || {"id":"df91f9a7-4b00-455c-84d6-d4fda9d50e69","product_id":"f838a9d7-e1ca-431b-9674-7f7f8b2e2258","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"ZYO-1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"39.99","retail_price":"79.99","available":true,"url":"\/products\/body-wave-wig?variant=df91f9a7-4b00-455c-84d6-d4fda9d50e69","available_quantity":999999999,"options":[],"off_ratio":50,"flashsale_info":[],"sales":1};
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.
${function(){
const variantData = data.variant || {"id":"df91f9a7-4b00-455c-84d6-d4fda9d50e69","product_id":"f838a9d7-e1ca-431b-9674-7f7f8b2e2258","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"ZYO-1","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"79.99","price":"39.99","retail_price":"79.99","available":true,"url":"\/products\/body-wave-wig?variant=df91f9a7-4b00-455c-84d6-d4fda9d50e69","available_quantity":999999999,"options":[],"off_ratio":50,"flashsale_info":[],"sales":1};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}