${function() {
const variantData = data.variant || {"id":"8c5ae47c-e1bd-4a94-a718-a41b41b9471c","product_id":"82ee1a64-87dc-4d46-a775-add737ca7838","title":"red","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135336-C2948","barcode":"","position":1,"option1":"red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40349e0a158bf479201dfe9bed47b6b2.jpeg","path":"40349e0a158bf479201dfe9bed47b6b2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.12","compare_at_price":"50.99","price":"25.99","retail_price":"50.99","available":true,"url":"\/products\/crochet-granny-square-bag-patchwork-bag?variant=8c5ae47c-e1bd-4a94-a718-a41b41b9471c","available_quantity":999999999,"options":[{"name":"Color","value":"red"}],"off_ratio":49,"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}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : CY-!135336-C2948
Weight : 0.12kg
${function(){
const variantData = data.variant || {"id":"8c5ae47c-e1bd-4a94-a718-a41b41b9471c","product_id":"82ee1a64-87dc-4d46-a775-add737ca7838","title":"red","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135336-C2948","barcode":"","position":1,"option1":"red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/40349e0a158bf479201dfe9bed47b6b2.jpeg","path":"40349e0a158bf479201dfe9bed47b6b2.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0.12","compare_at_price":"50.99","price":"25.99","retail_price":"50.99","available":true,"url":"\/products\/crochet-granny-square-bag-patchwork-bag?variant=8c5ae47c-e1bd-4a94-a718-a41b41b9471c","available_quantity":999999999,"options":[{"name":"Color","value":"red"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}