${function() {
const variantData = data.variant || {"id":"83c0d5e4-7569-4b7e-954d-0c16b9ecbf5b","product_id":"494b49d8-c6a3-493c-a6a4-c4d52ea714a5","title":"Green-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"PH1-220516-88-Green-XS","barcode":"","position":1,"option1":"Green","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eafd2b506f04d682800dfe69a20c3b7d.jpeg","path":"eafd2b506f04d682800dfe69a20c3b7d.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"27.99","retail_price":"55","available":true,"url":"\/products\/mens-seersucker-casual-shirts-wrinkle-free-art-geometric-short-sleeve-tops?variant=83c0d5e4-7569-4b7e-954d-0c16b9ecbf5b","available_quantity":1000,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"XS"}],"off_ratio":49,"flashsale_info":[],"sales":5};
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.