${function() {
const variantData = data.variant || {"id":"825cb058-4417-4208-970b-58706cd18a01","product_id":"f3daaea5-357a-4550-9c8e-a329c95251ba","title":"","weight_unit":"lb","inventory_quantity":0,"sku":"ND-367","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":14.4,"min_quantity":1}],"weight":"0","compare_at_price":"18","price":"14.4","retail_price":"18","available":true,"url":"\/products\/n-smiley?variant=825cb058-4417-4208-970b-58706cd18a01","available_quantity":999999999,"options":[],"off_ratio":20,"flashsale_info":[],"sales":0};
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":"825cb058-4417-4208-970b-58706cd18a01","product_id":"f3daaea5-357a-4550-9c8e-a329c95251ba","title":"","weight_unit":"lb","inventory_quantity":0,"sku":"ND-367","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":14.4,"min_quantity":1}],"weight":"0","compare_at_price":"18","price":"14.4","retail_price":"18","available":true,"url":"\/products\/n-smiley?variant=825cb058-4417-4208-970b-58706cd18a01","available_quantity":999999999,"options":[],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}