${function() {
const variantData = data.variant || {"id":"c7984cd6-25f6-4291-89fc-590daf5bb894","product_id":"249a0961-04df-4cc3-a611-a52556fb0b0b","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MSK308819-GRN00S","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfa734ed5e427808836356871bc62d79.jpeg","path":"cfa734ed5e427808836356871bc62d79.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":35.99,"min_quantity":1}],"weight":"0","compare_at_price":"60.99","price":"35.99","retail_price":"60.99","available":true,"url":"\/products\/mens-st-patricks-day-printed-button-sweatshirt-6?variant=c7984cd6-25f6-4291-89fc-590daf5bb894","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":41,"flashsale_info":[],"sales":3};
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.