Display cart discounts in Shopify

Display between the subtotal and total if a discount applies to the cart as a whole.

Subtotal: {{ cart.items_subtotal_price | money }}
{% if cart.cart_level_discount_application.size > 0 %}
  Discounts:
  <ul>
    {% for discount_application in cart.cart_level_discount_applications %}
      <li>
        {{ discount_application.title }}-{{ discount_application.total_allocated_amount | money }}
      </li>
    {% endfor %}
  </ul>
{% endif %}
Total: {{ cart.total_price | money }}
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...Loading...
Oopps, sorry. This discussion is closed.

If you are a paying customer and you are looking for Tech Support please post a ticket on our Support Tickets page and we will respond promptly.

If you are not a paying customer and you would like to post a pre-sale question or a quote request please use our Contact form.

Why did we close the discussion?

Many of the customers started reporting issues as comments instead of the ticketing system and this started delaying our response time.

We are making this change to serve our customers better. We have ramped up our support team and we are trying to get the reply out on the same day.

Thanks for understanding.

silmonlizabeth@mailxu.com gelino_ching@mailxu.com jannell.siu@mailxu.com