${function() {
const variantData = data.variant || {"id":"87bde709-14fd-497e-b762-9b1e7878545e","product_id":"d76b3a90-74a1-4914-bf5a-20cd97eb832f","title":"Blue","weight_unit":"kg","inventory_quantity":100,"sku":"PG04714-Blue-A001880","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5aaa30dc2b2bd93b82a4932f7241d8a.jpeg","path":"e5aaa30dc2b2bd93b82a4932f7241d8a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.17,"min_quantity":1}],"weight":"1","compare_at_price":"120.51","price":"40.17","retail_price":"120.51","available":true,"url":"\/products\/keep-your-pets-cool-comfortable-this-summer-with-the-dog-cooling-mat?variant=87bde709-14fd-497e-b762-9b1e7878545e","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 : PG04714-Blue-A001880
Weight : 1kg
${function(){
const variantData = data.variant || {"id":"87bde709-14fd-497e-b762-9b1e7878545e","product_id":"d76b3a90-74a1-4914-bf5a-20cd97eb832f","title":"Blue","weight_unit":"kg","inventory_quantity":100,"sku":"PG04714-Blue-A001880","barcode":"","position":1,"option1":"Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e5aaa30dc2b2bd93b82a4932f7241d8a.jpeg","path":"e5aaa30dc2b2bd93b82a4932f7241d8a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":40.17,"min_quantity":1}],"weight":"1","compare_at_price":"120.51","price":"40.17","retail_price":"120.51","available":true,"url":"\/products\/keep-your-pets-cool-comfortable-this-summer-with-the-dog-cooling-mat?variant=87bde709-14fd-497e-b762-9b1e7878545e","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}
`
}()}