${function() {
const variantData = data.variant || {"id":"7face40d-e25b-4aab-9e53-92078700e559","product_id":"cebafafd-d495-4184-a02d-e33462639844","title":"BROWN","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135426-C1270","barcode":"","position":1,"option1":"BROWN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d0f31c13a19e545274bb466d23028e2.jpeg","path":"5d0f31c13a19e545274bb466d23028e2.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":95.99,"min_quantity":1}],"weight":"0.59","compare_at_price":"185.99","price":"95.99","retail_price":"185.99","available":true,"url":"\/products\/crochet-granny-square-bag-grandmother-plaid-knitting-bag?variant=7face40d-e25b-4aab-9e53-92078700e559","available_quantity":999999999,"options":[{"name":"Color","value":"BROWN"}],"off_ratio":48,"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-!135426-C1270
Weight : 0.59kg
${function(){
const variantData = data.variant || {"id":"7face40d-e25b-4aab-9e53-92078700e559","product_id":"cebafafd-d495-4184-a02d-e33462639844","title":"BROWN","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135426-C1270","barcode":"","position":1,"option1":"BROWN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d0f31c13a19e545274bb466d23028e2.jpeg","path":"5d0f31c13a19e545274bb466d23028e2.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":95.99,"min_quantity":1}],"weight":"0.59","compare_at_price":"185.99","price":"95.99","retail_price":"185.99","available":true,"url":"\/products\/crochet-granny-square-bag-grandmother-plaid-knitting-bag?variant=7face40d-e25b-4aab-9e53-92078700e559","available_quantity":999999999,"options":[{"name":"Color","value":"BROWN"}],"off_ratio":48,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}