${function() {
const variantData = data.variant || {"id":"699877c5-ef2a-4398-9cf2-c21aa4f8a7c1","product_id":"0418c3c5-8e51-4a84-ae15-18a084bc3b47","title":"Fuchsia-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI284786-FUC00S","barcode":"","position":1,"option1":"Fuchsia","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fc80479d21cc445a77f829c4116b8066.jpeg","path":"fc80479d21cc445a77f829c4116b8066.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.99","price":"19.99","retail_price":"38.99","available":true,"url":"\/products\/mens-casual-shiny-santa-print-t-shirt-2?variant=699877c5-ef2a-4398-9cf2-c21aa4f8a7c1","available_quantity":999999999,"options":[{"name":"Color","value":"Fuchsia"},{"name":"Size","value":"S"}],"off_ratio":49,"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.