{% assign price = product.price | times: 100 | round: 2 %} {% assign price = product.price | times: 0.30 | divided_by: 100 | round: 2 %} {% assign price_check = price | split: '.' %} {% if price_check[1].size == 1 %} {% assign price = price | append: '0' %} {% endif %} {{price}}
H