${function() {
const variantData = data.variant || {"id":"9c5ac450-804a-42ce-b887-b9a932cce9b5","product_id":"00e4a493-6c24-48a8-8c1a-4df17a17f6f0","title":"Purple-S","weight_unit":"kg","inventory_quantity":0,"sku":"2212212737-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eff097c2bfd2b4b8cdd2675e03e5ed4f.png","path":"eff097c2bfd2b4b8cdd2675e03e5ed4f.png","width":1000,"height":1300,"alt":"Skol Definition Minnesota Vikings Sweatshirt","aspect_ratio":0.7692307692307693},"wholesale_price":[{"price":26.35,"min_quantity":1}],"weight":"0.4","compare_at_price":"32","price":"26.35","retail_price":"32","available":true,"url":"\/products\/skol-definition-minnesota-vikings-sweatshirt?variant=9c5ac450-804a-42ce-b887-b9a932cce9b5","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":18,"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.