Shopify » Integer
A Shopify Integer works similar to the Decimal type, but only allows for input of a number without decimals. The value property returns a numeric value directly, allowing you to do numeric comparisons directly:
{% assign rrp = product.metafields.accentuate.rrp_price.value %}
{% if rrp > 100 %}
<p>RRP is {{ rrp }}</p>
{% endif %}
Last updated