${function() {
const variantData = data.variant || {"id":"2b549c60-7197-44e8-b5eb-cecca609a541","product_id":"f3a65fec-33ae-4e1a-afa9-9cc06b5a4b6a","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"00196177266261","barcode":"00196177266261","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"33","price":"25","retail_price":"33","available":true,"url":"\/products\/sc-knee-socks?variant=2b549c60-7197-44e8-b5eb-cecca609a541","available_quantity":999999999,"options":[],"off_ratio":24,"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.
Sku : 00196177266261
Barcode : 00196177266261
${function(){
const variantData = data.variant || {"id":"2b549c60-7197-44e8-b5eb-cecca609a541","product_id":"f3a65fec-33ae-4e1a-afa9-9cc06b5a4b6a","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"00196177266261","barcode":"00196177266261","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"33","price":"25","retail_price":"33","available":true,"url":"\/products\/sc-knee-socks?variant=2b549c60-7197-44e8-b5eb-cecca609a541","available_quantity":999999999,"options":[],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}