${function() {
const variantData = data.variant || {"id":"bb6bce48-fd3f-4000-ac67-ea3577820c7c","product_id":"a3c3f765-2420-4d7c-8391-9ab7ffe8cf20","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"F1100357-Green-S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed0866a9f9c1e21da9bad7bf828834eb.png","path":"ed0866a9f9c1e21da9bad7bf828834eb.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-19e2e1bd0e67-4a7e-4a3f-8c17-2b40a0fd2aa3?variant=bb6bce48-fd3f-4000-ac67-ea3577820c7c","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":25,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.