${function() {
const variantData = data.variant || {"id":"cb88f4a6-b4af-40c3-aba5-a0fc52dfe609","product_id":"a42bb22c-f451-48a3-903e-33c22c34543d","title":"PINK","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!134744-C1253","barcode":"","position":1,"option1":"PINK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a295cd46acd1002df66f7c7ef764ec0.jpeg","path":"5a295cd46acd1002df66f7c7ef764ec0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"42.99","price":"21.99","retail_price":"42.99","available":true,"url":"\/products\/crochet-tote-bag-summer-niche-knitted-bag?variant=cb88f4a6-b4af-40c3-aba5-a0fc52dfe609","available_quantity":999999999,"options":[{"name":"Color","value":"PINK"}],"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-!134744-C1253
Weight : 0.7kg
${function(){
const variantData = data.variant || {"id":"cb88f4a6-b4af-40c3-aba5-a0fc52dfe609","product_id":"a42bb22c-f451-48a3-903e-33c22c34543d","title":"PINK","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!134744-C1253","barcode":"","position":1,"option1":"PINK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a295cd46acd1002df66f7c7ef764ec0.jpeg","path":"5a295cd46acd1002df66f7c7ef764ec0.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"42.99","price":"21.99","retail_price":"42.99","available":true,"url":"\/products\/crochet-tote-bag-summer-niche-knitted-bag?variant=cb88f4a6-b4af-40c3-aba5-a0fc52dfe609","available_quantity":999999999,"options":[{"name":"Color","value":"PINK"}],"off_ratio":49,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}