${function() {
const variantData = data.variant || {"id":"32d1f8e5-1e12-4fe6-bc39-c57d817722c5","product_id":"13ec4aba-78b5-4d06-8ac6-afa34c3bf144","title":"white","weight_unit":"kg","inventory_quantity":1000,"sku":"QN04713-white-A0011202","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09f4022be04d1a6c677092a4b3e8d3ab.jpeg","path":"09f4022be04d1a6c677092a4b3e8d3ab.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":71.99,"min_quantity":1}],"weight":"0","compare_at_price":"215.99","price":"71.99","retail_price":"215.99","available":true,"url":"\/products\/say-goodbye-to-lint-balls-fuzz-rechargeable-portable-electric-lint-remover?variant=32d1f8e5-1e12-4fe6-bc39-c57d817722c5","available_quantity":1000,"options":[{"name":"Color","value":"white"}],"off_ratio":67,"flashsale_info":[],"sales":3000};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : QN04713-white-A0011202
${function(){
const variantData = data.variant || {"id":"32d1f8e5-1e12-4fe6-bc39-c57d817722c5","product_id":"13ec4aba-78b5-4d06-8ac6-afa34c3bf144","title":"white","weight_unit":"kg","inventory_quantity":1000,"sku":"QN04713-white-A0011202","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09f4022be04d1a6c677092a4b3e8d3ab.jpeg","path":"09f4022be04d1a6c677092a4b3e8d3ab.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":71.99,"min_quantity":1}],"weight":"0","compare_at_price":"215.99","price":"71.99","retail_price":"215.99","available":true,"url":"\/products\/say-goodbye-to-lint-balls-fuzz-rechargeable-portable-electric-lint-remover?variant=32d1f8e5-1e12-4fe6-bc39-c57d817722c5","available_quantity":1000,"options":[{"name":"Color","value":"white"}],"off_ratio":67,"flashsale_info":[],"sales":3000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}