Liquid error: comparison of Integer with String failed

New Member
1 0 0


I am a new user. I noticed that after I attempted to review my shopping cart after adding an item, I received "Liquid error: comparison of Integer with String failed" (see screenshot provided).

Does anyone know how I can troubleshoot something like this? Where in the source code manages this?

Thanks for your help in advance.


Screen Shot 2021-01-01 at 2.47.30 PM.png

Shopify Partner
2583 136 472

If it's a new error try to retrace your steps to any code you changed, or apps installed.

Since it's cart related it may be in the cart.liquid template , or since it's a cart drawer a cart-drawer.liquid, or the code for the drawer is in javascript (theme.js, cart.js,etc)

Finding the exact source file location of the error will vary vastly by theme.

Problem Solved? ✔️Accept and ? Like the solution so you can help others.
Buy me a coffee ☕ or donate to
Confused? Busy? Buy a custom solution