${function() {
const variantData = data.variant || {"id":"5326e86f-c184-4590-9e53-90fa5f9e0ef5","product_id":"ecda440c-1790-4427-95e3-a4e92f924c8e","title":"S-Black","weight_unit":"kg","inventory_quantity":995,"sku":"-S-A00119108","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4b4cde178c7f1919a86c4c733f24a478.jpeg","path":"4b4cde178c7f1919a86c4c733f24a478.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.69,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"27.69","retail_price":"36.99","available":true,"url":"\/products\/mens-abstract-geometric-lapel-polo-short-sleeve?variant=5326e86f-c184-4590-9e53-90fa5f9e0ef5","available_quantity":995,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Black"}],"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.