${function() {
const variantData = data.variant || {"id":"fd9523da-d970-4533-9e39-17f9d33a5a95","product_id":"bbb72b8c-0b85-498b-bb74-783825219d04","title":"Avengers electric motorcycle","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Avengers electric motorcycle","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/601bdec9bfc4f51035e6eea21bc82cbe.jpeg","path":"601bdec9bfc4f51035e6eea21bc82cbe.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.88,"min_quantity":1}],"weight":"0","compare_at_price":"109.99","price":"48.88","retail_price":"109.99","available":true,"url":"\/products\/3d-metal-puzzle-motorcycle06e9628b-5586-4910-b208-d01fb0cf1d9a?variant=fd9523da-d970-4533-9e39-17f9d33a5a95","available_quantity":999999999,"options":[{"name":"Qty","value":"Avengers electric motorcycle"}],"off_ratio":56,"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":"fd9523da-d970-4533-9e39-17f9d33a5a95","product_id":"bbb72b8c-0b85-498b-bb74-783825219d04","title":"Avengers electric motorcycle","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Avengers electric motorcycle","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/601bdec9bfc4f51035e6eea21bc82cbe.jpeg","path":"601bdec9bfc4f51035e6eea21bc82cbe.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":48.88,"min_quantity":1}],"weight":"0","compare_at_price":"109.99","price":"48.88","retail_price":"109.99","available":true,"url":"\/products\/3d-metal-puzzle-motorcycle06e9628b-5586-4910-b208-d01fb0cf1d9a?variant=fd9523da-d970-4533-9e39-17f9d33a5a95","available_quantity":999999999,"options":[{"name":"Qty","value":"Avengers electric motorcycle"}],"off_ratio":56,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}