${function() {
const variantData = data.variant || {"id":"3daeb37c-d4fb-4453-bd85-8ede47ecadf2","product_id":"a5ade862-8cbc-4a6b-a9bc-5160fd4716fe","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MS043098-Green-S","barcode":"","position":17,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2633b0dcba9cf0075993dd0ef261ee1.jpeg","path":"f2633b0dcba9cf0075993dd0ef261ee1.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"27.99","retail_price":"0","available":true,"url":"\/products\/mens-st-patricks-clover-fallen-leaf-print-short-sleeve-shirt?variant=3daeb37c-d4fb-4453-bd85-8ede47ecadf2","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.