${function() {
const variantData = data.variant || {"id":"d98fc0bf-3898-4cec-9858-bf0d81dccc79","product_id":"4572680b-695f-47fe-b2a6-78f40160d6fc","title":"Red","weight_unit":"kg","inventory_quantity":100,"sku":"QQ01963-Red-A001047","barcode":"","position":3,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d79fe97652010f4c189478fb8d4b736.jpeg","path":"2d79fe97652010f4c189478fb8d4b736.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.47,"min_quantity":1}],"weight":"1","compare_at_price":"40","price":"13.47","retail_price":"40","available":true,"url":"\/products\/3-in-1-laser-pointer-red-green-and-purple-lasers-in-one-compact-device?variant=d98fc0bf-3898-4cec-9858-bf0d81dccc79","available_quantity":100,"options":[{"name":"Color","value":"Red"}],"off_ratio":66,"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 + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : QQ01963-Red-A001047
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"d98fc0bf-3898-4cec-9858-bf0d81dccc79","product_id":"4572680b-695f-47fe-b2a6-78f40160d6fc","title":"Red","weight_unit":"kg","inventory_quantity":100,"sku":"QQ01963-Red-A001047","barcode":"","position":3,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d79fe97652010f4c189478fb8d4b736.jpeg","path":"2d79fe97652010f4c189478fb8d4b736.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":13.47,"min_quantity":1}],"weight":"1","compare_at_price":"40","price":"13.47","retail_price":"40","available":true,"url":"\/products\/3-in-1-laser-pointer-red-green-and-purple-lasers-in-one-compact-device?variant=d98fc0bf-3898-4cec-9858-bf0d81dccc79","available_quantity":100,"options":[{"name":"Color","value":"Red"}],"off_ratio":66,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}