${function() {
const variantData = data.variant || {"id":"844c662c-759d-4b62-9392-5526217d2b63","product_id":"76bd0f8e-832a-458b-9e8e-e71280f2b463","title":"GREEN","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!134592-C1278","barcode":"","position":3,"option1":"GREEN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8bbf7b366fce33a71e4d2a0ca046940d.jpeg","path":"8bbf7b366fce33a71e4d2a0ca046940d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"49.99","price":"24.99","retail_price":"49.99","available":true,"url":"\/products\/crochet-tote-bag-simple-fashion-tote-bag?variant=844c662c-759d-4b62-9392-5526217d2b63","available_quantity":999999999,"options":[{"name":"Color","value":"GREEN"}],"off_ratio":50,"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-!134592-C1278
Weight : 0.7kg
${function(){
const variantData = data.variant || {"id":"844c662c-759d-4b62-9392-5526217d2b63","product_id":"76bd0f8e-832a-458b-9e8e-e71280f2b463","title":"GREEN","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!134592-C1278","barcode":"","position":3,"option1":"GREEN","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8bbf7b366fce33a71e4d2a0ca046940d.jpeg","path":"8bbf7b366fce33a71e4d2a0ca046940d.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"49.99","price":"24.99","retail_price":"49.99","available":true,"url":"\/products\/crochet-tote-bag-simple-fashion-tote-bag?variant=844c662c-759d-4b62-9392-5526217d2b63","available_quantity":999999999,"options":[{"name":"Color","value":"GREEN"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}