I've been working with Handlebars.js and encountered an issue when trying to compare product prices above $35. The problem arises from the fact that prices are stored as "$54.99" which gets treated as 0 when compared to a number. How can I effectively compare these values?
Below is the current code I'm using:
{{#gt price.without_tax.formatted 34.99}}
This item qualifies for free shipping!
{{else}}
Not eligible for free shipping
{{/gt}}