${function() {
const variantData = data.variant || {"id":"04c01059-0d12-42be-8c3b-2e09bb066f48","product_id":"94e393d6-d48a-4735-80ad-49126dd7cbac","title":"","weight_unit":"kg","inventory_quantity":100,"sku":"VL04551--A001057","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":10.47,"min_quantity":1}],"weight":"1","compare_at_price":"30","price":"10.47","retail_price":"30","available":true,"url":"\/products\/100pcs-disposable-food-covers-keep-your-dishes-fresh-and-protected-with-elastic-plastic-wrap?variant=04c01059-0d12-42be-8c3b-2e09bb066f48","available_quantity":100,"options":[],"off_ratio":65,"flashsale_info":[],"sales":5000};
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 : VL04551--A001057
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"04c01059-0d12-42be-8c3b-2e09bb066f48","product_id":"94e393d6-d48a-4735-80ad-49126dd7cbac","title":"","weight_unit":"kg","inventory_quantity":100,"sku":"VL04551--A001057","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":10.47,"min_quantity":1}],"weight":"1","compare_at_price":"30","price":"10.47","retail_price":"30","available":true,"url":"\/products\/100pcs-disposable-food-covers-keep-your-dishes-fresh-and-protected-with-elastic-plastic-wrap?variant=04c01059-0d12-42be-8c3b-2e09bb066f48","available_quantity":100,"options":[],"off_ratio":65,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}