This is my first time using Shopify and Liquid. I currently have a problem with my shopping cart with the Charlotte theme. I’d like my shopping cart to show the original price of a customer’s item with a strike-through and the sales price in bold red. My cart won’t do this, it just shows whatever the price of the item is without any indication that it was on sale. After testing, I’ve found that the problem is that the highlight conditional statement never proves to be true. No matter the item, the original_line_price comes back as the same as the final_line price. It’s like it’s ignoring the product’s “Compare at price” amount and using the “price” amount only for both the original_line_price and final_line price. I can’t figure out why the website is doing this! I’ve also tried replacing the conditional statement with {%- if product.compare_at_price != product.price -%} Please let me know if this all makes sense and how I could fix this problem!
image of code: https://i.stack.imgur.com/IeJRw.pngglobaltech