I am using Handlebars.js and I am trying to compare the price of each product to see if it is over $35. If so, I will display text beneath. The problem is that the price is stored as "$54.99", so when compared to a number it is treated as 0. How can I compare these two values?
Here is my code so far:
{{#gt price.without_tax.formatted 34.99}}
This product qualifies for free shipping!
{{else}}
Not free shipping
{{/gt}}