<div class="price"> 
            {% if settings.product_show_on_sale %}
                <div class="sale_price">{{ settings.product_on_sale_text }}</div>
            {%endif%}
            <span id="ProductPrice" class="ProductPrice_{{ product.id }}" content="{{ current_variant.price | number }}">
              {{ current_variant.price | money }}
            </span>

            {%if product.compare_at_price%}
             <span id="ComparePrice" class="ComparePrice_{{ product.id }}" content="{{ current_variant.compare_at_price | number }}">
              {{ current_variant.compare_at_price | money }}
            </span>
            {%endif%}

            {% if product.compare_at_price_max > product.price and settings.product_show_save_money %}
                <div class="discount_price_per discount_price_per_{{ product.id }}">
                                                                {{ settings.product_discount_text }} <span class="discount_price_amount discount_price_amount_{{ product.id }}">{{ product.compare_at_price | minus: product.price | times: 1.0 | money}}</span> (<span class="discount_price_percentage discount_price_percentage_{{ product.id }}">{{ product.compare_at_price | minus: product.price | times: 10000.0 | divided_by: product.compare_at_price | money_without_currency | times: 1 | slice: 0, 2 | remove: '.0' | remove: '.' }}{% if current_variant.price == 0 %}0{% endif %}</span> %)
                </div>
            {% endif %}
          </div>