${function() {
const variantData = data.variant || {"id":"615ed926-3c4e-4967-ad9d-4e636b929fea","product_id":"9707ac5c-a779-4df5-b0ca-44edff6ac987","title":"Red-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212122512-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/947d984d7d2bbc60239dc62e8fb69967.png","path":"947d984d7d2bbc60239dc62e8fb69967.png","width":675,"height":900,"alt":"Western Vintage Casual Long Sleeve Shirt","aspect_ratio":0.75},"wholesale_price":[{"price":24.73,"min_quantity":1}],"weight":"0.4","compare_at_price":"32","price":"24.73","retail_price":"32","available":true,"url":"\/products\/western-vintage-casual-long-sleeve-shirt?variant=615ed926-3c4e-4967-ad9d-4e636b929fea","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.