${function() {
const variantData = data.variant || {"id":"495af84b-d73f-4f47-a9c5-217628d30c09","product_id":"277eadae-8617-466e-a440-e17a23760c3b","title":"Blue","weight_unit":"kg","inventory_quantity":1000,"sku":"VG01821-Blue-A0011217","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a4170a97dd93bcc136e1802a88d564c.jpg","path":"7a4170a97dd93bcc136e1802a88d564c.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":50.99,"min_quantity":1}],"weight":"0","compare_at_price":"152.99","price":"50.99","retail_price":"152.99","available":true,"url":"\/products\/eliminate-hairballs-instantly-with-this-usb-plug-electric-hair-ball-remover?variant=495af84b-d73f-4f47-a9c5-217628d30c09","available_quantity":1000,"options":[{"name":"Color","value":"Blue"}],"off_ratio":67,"flashsale_info":[],"sales":300};
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 : VG01821-Blue-A0011217
${function(){
const variantData = data.variant || {"id":"495af84b-d73f-4f47-a9c5-217628d30c09","product_id":"277eadae-8617-466e-a440-e17a23760c3b","title":"Blue","weight_unit":"kg","inventory_quantity":1000,"sku":"VG01821-Blue-A0011217","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a4170a97dd93bcc136e1802a88d564c.jpg","path":"7a4170a97dd93bcc136e1802a88d564c.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":50.99,"min_quantity":1}],"weight":"0","compare_at_price":"152.99","price":"50.99","retail_price":"152.99","available":true,"url":"\/products\/eliminate-hairballs-instantly-with-this-usb-plug-electric-hair-ball-remover?variant=495af84b-d73f-4f47-a9c5-217628d30c09","available_quantity":1000,"options":[{"name":"Color","value":"Blue"}],"off_ratio":67,"flashsale_info":[],"sales":300};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}