${function() {
const variantData = data.variant || {"id":"a1442846-cd06-49b6-b479-164f5bc042c9","product_id":"e8654c28-b2c6-4a15-81aa-9c889be9a29e","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI283116-GRN00S","barcode":"","position":8,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/05a00a234521ed23516e38b5c8874b85.jpeg","path":"05a00a234521ed23516e38b5c8874b85.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.38","price":"25.99","retail_price":"49.38","available":true,"url":"\/products\/mens-funny-christmas-its-not-going-to-lick-itself-casual-long-sleeve-top?variant=a1442846-cd06-49b6-b479-164f5bc042c9","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":47,"flashsale_info":[],"sales":2};
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.