{% assign total_discount_amount = total_discounts | minus: bundle_item_total %} | |
{% for discount_application in discount_applications %} | |
{% if discount_application.title contains "Simple Bundles:" %}{% continue %}{% endif %} | |
{% assign non_bundle_discount_amount = non_bundle_discount_amount | plus: discount_application.value %} | |
{% endfor %} | |
{% assign total_discount_amount = non_bundle_discount_amount %} | |
{% if total_discount_amount != 0.0 %} | |
<div class="pricing-row text-align-right"> | |
<div class="pricing-title"> | |
{{ TEXT_discount }}<br> | |
{% for discount_application in discount_applications %} | |
{% if discount_application.title contains "Simple Bundles:" %}{% continue %}{% endif %} | |
{% if forloop.last == true %} | |
{{ discount_application.title }} | |
{% else %} | |
{{ discount_application.title }}, | |
{% endif %} | |
{% endfor %} | |
</div> | |
<div class="pricing-details"> | |
-{{ total_discount_amount | money }} | |
</div> | |
</div> | |
{% endif %} |