${function() {
const variantData = data.variant || {"id":"2cba0388-04c9-4188-919f-1981a86116bf","product_id":"bbc90fc7-9c97-49de-853f-546db827f9c3","title":"150*100","weight_unit":"kg","inventory_quantity":1000,"sku":"17592199534104","barcode":"","position":1,"option1":"150*100","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ffcb80e4880e9bda7420e04fb441aac8.jpeg","path":"ffcb80e4880e9bda7420e04fb441aac8.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.59,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.59","retail_price":"0","available":true,"url":"\/products\/1pc-flannel-blanket-to-my-man-blanket-cosy-warm-soft-blanket-for-sofa-office-bed-and-travelling?variant=2cba0388-04c9-4188-919f-1981a86116bf","available_quantity":999999999,"options":[{"name":"Size","value":"150*100"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.
${function(){
const variantData = data.variant || {"id":"2cba0388-04c9-4188-919f-1981a86116bf","product_id":"bbc90fc7-9c97-49de-853f-546db827f9c3","title":"150*100","weight_unit":"kg","inventory_quantity":1000,"sku":"17592199534104","barcode":"","position":1,"option1":"150*100","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ffcb80e4880e9bda7420e04fb441aac8.jpeg","path":"ffcb80e4880e9bda7420e04fb441aac8.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.59,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.59","retail_price":"0","available":true,"url":"\/products\/1pc-flannel-blanket-to-my-man-blanket-cosy-warm-soft-blanket-for-sofa-office-bed-and-travelling?variant=2cba0388-04c9-4188-919f-1981a86116bf","available_quantity":999999999,"options":[{"name":"Size","value":"150*100"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}