${function() {
const variantData = data.variant || {"id":"1f883bbb-0bb9-41b8-9411-303558c91ca1","product_id":"705ac9e3-c7e9-4efd-8088-c5397c2ca871","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH302647-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b9f5dc1159e6b57b3a1158db6c307cd.jpeg","path":"3b9f5dc1159e6b57b3a1158db6c307cd.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.2","price":"36.99","retail_price":"49.2","available":true,"url":"\/products\/dog-print-plaid-textured-sweatshirt-2-6jc4?variant=1f883bbb-0bb9-41b8-9411-303558c91ca1","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":25,"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}
`
}()}
${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":"1f883bbb-0bb9-41b8-9411-303558c91ca1","product_id":"705ac9e3-c7e9-4efd-8088-c5397c2ca871","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SWH302647-BLU00S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b9f5dc1159e6b57b3a1158db6c307cd.jpeg","path":"3b9f5dc1159e6b57b3a1158db6c307cd.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.2","price":"36.99","retail_price":"49.2","available":true,"url":"\/products\/dog-print-plaid-textured-sweatshirt-2-6jc4?variant=1f883bbb-0bb9-41b8-9411-303558c91ca1","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}