I'm attempting to use a currency property in an if statement. Can anyone tell me what the proper syntax is for a currency property? I'm using the price property on line items. It does not seem to work when I treat it as an integer.
Thanks so much for the response. I think, however, that you are showing me how to format a number as currency in the output, not how to use a currency property in a conditional statement. When I use {% if line_item.price == 0 %} there is no error in the code, but the deal-based automated email errors (template may not be found) and does not send.