${function() {
const variantData = data.variant || {"id":"f00fca3c-432c-4660-9426-4b681f837843","product_id":"0bdf6e23-6594-4f01-8c1a-f1093fb2642e","title":"Purple-S","weight_unit":"kg","inventory_quantity":1000,"sku":"F1100356-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b6ce003f89e8a8c4e098782fa5426aa.png","path":"3b6ce003f89e8a8c4e098782fa5426aa.png","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"29.99","retail_price":"39.99","available":true,"url":"\/products\/mens-fashionable-casual-green-cotton-shirts-a5zw-z50l-rx8s-k9xh-tzpw-bxa8-t0gn-uyyx-lhg0-nfqp-7wx8-81jc-31gk-ed9k-19e2-ol7he9170181-3920-49e9-9141-41ab455be62c?variant=f00fca3c-432c-4660-9426-4b681f837843","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":25,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.