${function() {
const variantData = data.variant || {"id":"ced83d4d-e26f-4f29-9df3-989a69eaf481","product_id":"841dd101-afbb-4282-8560-b824bce1c8be","title":"","weight_unit":"kg","inventory_quantity":100,"sku":"PT02977--A001158","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"white","image":null,"wholesale_price":[{"price":66,"min_quantity":1}],"weight":"0","compare_at_price":"198","price":"66","retail_price":"198","available":true,"url":"\/products\/tylus-pen-for-ipad-with-palm-rejection-active-pencil-compatible-with-2018-2022-apple-ipad-pro-11-12-9-inch-ipad-air-3rd-4th-gen-ipad-6-7-8th-gen-ipad-mini-5th-gen-for-precise-writing-drawing?variant=ced83d4d-e26f-4f29-9df3-989a69eaf481","available_quantity":100,"options":[],"off_ratio":67,"flashsale_info":[],"sales":50000};
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":"ced83d4d-e26f-4f29-9df3-989a69eaf481","product_id":"841dd101-afbb-4282-8560-b824bce1c8be","title":"","weight_unit":"kg","inventory_quantity":100,"sku":"PT02977--A001158","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"white","image":null,"wholesale_price":[{"price":66,"min_quantity":1}],"weight":"0","compare_at_price":"198","price":"66","retail_price":"198","available":true,"url":"\/products\/tylus-pen-for-ipad-with-palm-rejection-active-pencil-compatible-with-2018-2022-apple-ipad-pro-11-12-9-inch-ipad-air-3rd-4th-gen-ipad-6-7-8th-gen-ipad-mini-5th-gen-for-precise-writing-drawing?variant=ced83d4d-e26f-4f29-9df3-989a69eaf481","available_quantity":100,"options":[],"off_ratio":67,"flashsale_info":[],"sales":50000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}