Only display MSRP on Label if Price is less than MSRP

I'm no stranger to programming, but I am to Django (the template language) so I'd appreciate some help.

I'm trying to set a condition to only show the MSRP if it's more than the current price, but it's not working. I'm sure it's because I have no idea how Django handles these "variables".

{% if Label.MetaData.price < price.amount %}

Where price.amount = MSRP and Label.MetaData.price = current price

Sign In or Register to comment.