${function() {
const variantData = data.variant || {"id":"4f152759-4a6e-4bb8-a498-8e0c81bd1238","product_id":"a72b041e-21d9-43dd-af96-60f70b5213fc","title":"Yellow-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MS041534-Yellow-S","barcode":"","position":17,"option1":"Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9554d9cec7d458b02ce09415529509e3.jpeg","path":"9554d9cec7d458b02ce09415529509e3.jpeg","width":1200,"height":1600,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"26.99","price":"26.99","retail_price":"26.99","available":true,"url":"\/products\/mens-casual-cocktail-glass-its-5oclock-somewhere-print-shirt?variant=4f152759-4a6e-4bb8-a498-8e0c81bd1238","available_quantity":1000,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"S"}],"off_ratio":0,"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.