${function() {
const variantData = data.variant || {"id":"c3c51c1d-1a81-4ebc-8db8-a813c5377cc9","product_id":"0ee56fd4-1274-4169-9e6a-be85eb37a2a8","title":"BLACK","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135549-C1251","barcode":"","position":3,"option1":"BLACK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7120d76e0734167cbca9bffa4b46f69f.jpeg","path":"7120d76e0734167cbca9bffa4b46f69f.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0.5","compare_at_price":"36.99","price":"18","retail_price":"36.99","available":true,"url":"\/products\/crochet-market-bag-cotton-woven-bag?variant=c3c51c1d-1a81-4ebc-8db8-a813c5377cc9","available_quantity":999999999,"options":[{"name":"Color","value":"BLACK"}],"off_ratio":51,"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-!135549-C1251
Weight : 0.5kg
${function(){
const variantData = data.variant || {"id":"c3c51c1d-1a81-4ebc-8db8-a813c5377cc9","product_id":"0ee56fd4-1274-4169-9e6a-be85eb37a2a8","title":"BLACK","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!135549-C1251","barcode":"","position":3,"option1":"BLACK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7120d76e0734167cbca9bffa4b46f69f.jpeg","path":"7120d76e0734167cbca9bffa4b46f69f.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0.5","compare_at_price":"36.99","price":"18","retail_price":"36.99","available":true,"url":"\/products\/crochet-market-bag-cotton-woven-bag?variant=c3c51c1d-1a81-4ebc-8db8-a813c5377cc9","available_quantity":999999999,"options":[{"name":"Color","value":"BLACK"}],"off_ratio":51,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}