${function() {
const variantData = data.variant || {"id":"363d07e3-2bc1-42ea-bbbf-ef7f39e430dc","product_id":"aa19a5b2-3517-42bb-b1b7-959530aa3a5c","title":"White-M","weight_unit":"kg","inventory_quantity":986,"sku":"13336523-White-M","barcode":"","position":1,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/461eb9537edad46cb43f51662e60832e.png","path":"461eb9537edad46cb43f51662e60832e.png","width":433,"height":577,"alt":"","aspect_ratio":0.7504332755632582},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-tropical-leaves-print-loose-chest-pocket-short-sleeve-hawaiian-shirts-13336523-variant-73075?variant=363d07e3-2bc1-42ea-bbbf-ef7f39e430dc","available_quantity":986,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":0,"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.