${function() {
const variantData = data.variant || {"id":"777f5c94-fed9-4a8c-92f4-be3cc68d85bc","product_id":"4fd3682d-60b1-4d9d-92e8-5d1e015f740c","title":"Blue","weight_unit":"kg","inventory_quantity":100,"sku":"NQ01248-Blue-A0011126","barcode":"","position":2,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/393c9d9195c890f18c37fc201986499d.jpeg","path":"393c9d9195c890f18c37fc201986499d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.97,"min_quantity":1}],"weight":"1","compare_at_price":"44.91","price":"14.97","retail_price":"44.91","available":true,"url":"\/products\/stay-protected-stylish-foldable-sunglasses-for-dogs-cats?variant=777f5c94-fed9-4a8c-92f4-be3cc68d85bc","available_quantity":100,"options":[{"name":"Color","value":"Blue"}],"off_ratio":67,"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 : NQ01248-Blue-A0011126
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"777f5c94-fed9-4a8c-92f4-be3cc68d85bc","product_id":"4fd3682d-60b1-4d9d-92e8-5d1e015f740c","title":"Blue","weight_unit":"kg","inventory_quantity":100,"sku":"NQ01248-Blue-A0011126","barcode":"","position":2,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/393c9d9195c890f18c37fc201986499d.jpeg","path":"393c9d9195c890f18c37fc201986499d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.97,"min_quantity":1}],"weight":"1","compare_at_price":"44.91","price":"14.97","retail_price":"44.91","available":true,"url":"\/products\/stay-protected-stylish-foldable-sunglasses-for-dogs-cats?variant=777f5c94-fed9-4a8c-92f4-be3cc68d85bc","available_quantity":100,"options":[{"name":"Color","value":"Blue"}],"off_ratio":67,"flashsale_info":[],"sales":5000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}