${function() {
const variantData = data.variant || {"id":"42a5cf9f-77ce-4c2a-bcf2-2e42c6c5f2ef","product_id":"6f0bc0a0-4d6f-41f1-b47f-1c852bd01ddb","title":"10","weight_unit":"kg","inventory_quantity":998,"sku":"3256804162727122_10","barcode":"","position":1,"option1":"10","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c7d57b542adbf2efadcde13db59393be.jpeg","path":"c7d57b542adbf2efadcde13db59393be.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/11cm-large-banana-hair-claw-clip-for-women-girls-gradient-color-sweet-hairpins-hair-crab-clamp-barrettes?variant=42a5cf9f-77ce-4c2a-bcf2-2e42c6c5f2ef","available_quantity":999999999,"options":[{"name":"Color","value":"10"}],"off_ratio":50,"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":"42a5cf9f-77ce-4c2a-bcf2-2e42c6c5f2ef","product_id":"6f0bc0a0-4d6f-41f1-b47f-1c852bd01ddb","title":"10","weight_unit":"kg","inventory_quantity":998,"sku":"3256804162727122_10","barcode":"","position":1,"option1":"10","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c7d57b542adbf2efadcde13db59393be.jpeg","path":"c7d57b542adbf2efadcde13db59393be.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/11cm-large-banana-hair-claw-clip-for-women-girls-gradient-color-sweet-hairpins-hair-crab-clamp-barrettes?variant=42a5cf9f-77ce-4c2a-bcf2-2e42c6c5f2ef","available_quantity":999999999,"options":[{"name":"Color","value":"10"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}