${function() {
const variantData = data.variant || {"id":"a9b13865-f159-4c6c-93a6-202f8c31b562","product_id":"5b68747b-0751-4d22-bf27-6d35699f165d","title":"Black","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3f5e2fe9b67534326ae2b26434797959.jpeg","path":"3f5e2fe9b67534326ae2b26434797959.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"75.84","price":"45.99","retail_price":"75.84","available":true,"url":"\/products\/2023-new-elegant-tri-color-contrast-wool-ball-womens?variant=a9b13865-f159-4c6c-93a6-202f8c31b562","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":39,"flashsale_info":[],"sales":1};
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.
${function(){
const variantData = data.variant || {"id":"a9b13865-f159-4c6c-93a6-202f8c31b562","product_id":"5b68747b-0751-4d22-bf27-6d35699f165d","title":"Black","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3f5e2fe9b67534326ae2b26434797959.jpeg","path":"3f5e2fe9b67534326ae2b26434797959.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"75.84","price":"45.99","retail_price":"75.84","available":true,"url":"\/products\/2023-new-elegant-tri-color-contrast-wool-ball-womens?variant=a9b13865-f159-4c6c-93a6-202f8c31b562","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":39,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}