Number Comparisons in Liquid

Knowledge Drop

Last tested: May 2020

in Liquid the comparison operators are:


< lesser than (<= less or equal to)
> greater than (>= greater or equal to)
== equal
!= not equal


Citation: https://help.shopify.com/themes/liquid/basics/operators

Version history
Last update:
‎04-05-2021 09:07 AM
Updated by: