{% comment %} Renders the price paragraph for the product card, but it may be used on other parts when there is a product list Accepts: - product: {object} The product object Usage: {% render 'product-card-price' product: product %} {% endcomment %}

{% if product.compare_at_price > product.price %} {{ 'product.regular_price' | t }} {{ product.compare_at_price | money_without_trailing_zeros }} {{ 'product.sale_price' | t }} {{ product.price | money_without_trailing_zeros }} {% else %} {{ product.price | money_without_trailing_zeros }} {% endif %}