${function() {
const variantData = data.variant || {"id":"58919c2d-19a9-45c3-a220-68a400820456","product_id":"2b4db6e6-ed49-4c99-a06d-6a38d4328dcf","title":"Wire clamp","weight_unit":"kg","inventory_quantity":999,"sku":"CF1382560-\u0d76\u01ef","barcode":"","position":1,"option1":"Wire clamp","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"29.99","retail_price":"50","available":true,"url":"\/products\/special-wire-stripper-for-electrician?variant=58919c2d-19a9-45c3-a220-68a400820456","available_quantity":999,"options":[{"name":"Quantity","value":"Wire clamp"}],"off_ratio":40,"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 + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"58919c2d-19a9-45c3-a220-68a400820456","product_id":"2b4db6e6-ed49-4c99-a06d-6a38d4328dcf","title":"Wire clamp","weight_unit":"kg","inventory_quantity":999,"sku":"CF1382560-\u0d76\u01ef","barcode":"","position":1,"option1":"Wire clamp","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"29.99","retail_price":"50","available":true,"url":"\/products\/special-wire-stripper-for-electrician?variant=58919c2d-19a9-45c3-a220-68a400820456","available_quantity":999,"options":[{"name":"Quantity","value":"Wire clamp"}],"off_ratio":40,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}