{% assign msrp = product.msrp | plus: 0 %} {% assign price = product.price | plus: 0 %} {% if msrp > price %} Regular price {{product.msrp | times:100 | money }} {{product.price | times:100 | money }} {% capture show_savings %}(Save %){% endcapture %} {% if show_savings != blank %} {% assign percent_off = product.msrp | minus: product.price | divided_by: product.msrp | times: 100 | round | append: