${function() {
const variantData = data.variant || {"id":"e35beaf2-664e-47bb-9596-7d46b710e2c7","product_id":"25923b3e-d033-40fb-8f1d-cb3f4fe4c8f9","title":"YELLOW","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135428-C1250","barcode":"","position":1,"option1":"YELLOW","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee0862aa61d7892bc7ed3f39c540317c.jpeg","path":"ee0862aa61d7892bc7ed3f39c540317c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"86.99","price":"43.99","retail_price":"86.99","available":true,"url":"\/products\/crochet-granny-square-bag-daisy-cotton-woven-bag?variant=e35beaf2-664e-47bb-9596-7d46b710e2c7","available_quantity":999999999,"options":[{"name":"Color","value":"YELLOW"}],"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-!135428-C1250
Weight : 0.4kg
${function(){
const variantData = data.variant || {"id":"e35beaf2-664e-47bb-9596-7d46b710e2c7","product_id":"25923b3e-d033-40fb-8f1d-cb3f4fe4c8f9","title":"YELLOW","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135428-C1250","barcode":"","position":1,"option1":"YELLOW","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ee0862aa61d7892bc7ed3f39c540317c.jpeg","path":"ee0862aa61d7892bc7ed3f39c540317c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"86.99","price":"43.99","retail_price":"86.99","available":true,"url":"\/products\/crochet-granny-square-bag-daisy-cotton-woven-bag?variant=e35beaf2-664e-47bb-9596-7d46b710e2c7","available_quantity":999999999,"options":[{"name":"Color","value":"YELLOW"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}