${function() {
const variantData = data.variant || {"id":"07a26ff2-3718-429f-8ed2-d56a0ad5dcc3","product_id":"080f144d-fd7e-4135-bbc0-6f21f843257a","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV287595-RED00S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b743bf36de4fc08026973f64e0f6b576.jpeg","path":"b743bf36de4fc08026973f64e0f6b576.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"19.99","retail_price":"36.99","available":true,"url":"\/products\/mens-funny-hawaii-surf-santa-claus-mele-kalikimaka-christmas-casual-tank-top?variant=07a26ff2-3718-429f-8ed2-d56a0ad5dcc3","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":46,"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.