I keep running into errors when I try and add .01 to price so that the sale badge does not show up if the prices are $0.01 difference:
assign on_sale = false
if product.compare_at_price > product.price
assign on_sale = true
endif
Can I not just add plus: 0.01 to product.compare_at_price? Can someone please help with the language?