Answers.Body: <p>Hmm, something else is at play here.</p>
  
  <p>I use:</p>
  
  <pre><code>{% if cart.totalDiscount != 0 or cart.couponCode %}
    - {{ cart.totalDiscount | currency(cart.currency) }}
  </code></pre>
  
  <p>...and it works.</p>
  
  <p>Are you sure the promotion is actually being applied?  I guess it is if you can calculate the discount.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-14T16:10:08.827Z
Answers.Text: Hmm, the promotion is applied for sure, I'll have to take another look I guess. Thanks for the feedback, I'll update if anything changes.
Answers.UserDisplayName: Darryl Hardin
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-12T23:58:04.870Z
Answers.LastActivityDate: 2017-11-12T23:58:04.870Z
Answers.UserDisplayName: Jeremy Daalder
Body: <p>I've taken the difference between the actual price and sale price of items and created a variable to hold the total value to give me a total discount at my checkout. I am curious if there is a way to do this with less code though? If I try to show <code>{{ cart.totalDiscount | currency(cart.currency) }}</code> it just comes up as $0.00, and this is with promotions -> sales at 10% off for all products. If there is a simple snippet like the one I referenced I'd love to know about it. Thanks!</p>
  
Tags: <plugin-craftcommerce><discounts>
Title: Show all discounts at checkout with Craft Commerce
ThreadText: # Show all discounts at checkout with Craft Commerce
  
  (Asked by: username_0 on 2017-10-04)
  
  I've taken the difference between the actual price and sale price of items and created a variable to hold the total value to give me a total discount at my checkout. I am curious if there is a way to do this with less code though? If I try to show `{{ cart.totalDiscount | currency(cart.currency) }}` it just comes up as $0.00, and this is with promotions -> sales at 10% off for all products. If there is a simple snippet like the one I referenced I'd love to know about it. Thanks!
  
  **Tags:** plugin-craftcommerce, discounts
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-11-12. Score: 1 | Accepted answer
  
  Hmm, something else is at play here.
  
  I use:
  
  ```
  {% if cart.totalDiscount != 0 or cart.couponCode %}
    - {{ cart.totalDiscount | currency(cart.currency) }}
  
  ```
  
  ...and it works.
  
  Are you sure the promotion is actually being applied? I guess it is if you can calculate the discount.
  
  > **Comments:**
  > **username_0**: Hmm, the promotion is applied for sure, I'll have to take another look I guess. Thanks for the feedback, I'll update if anything changes.  
  
  ---
  
  