Check if there is a discount and, is yes, how much I would like to do two things in my Craft commerce templates:

In my product template:

Check if there are any discounts available to a specific product.

I have a way to output discounts but need to be able to check if there are any at all because the pricing table would look entirely different for either one of the two cases.

In my shopping cart template:

I would like to check (1) if there are any discounts applied to a line item in the shopping cart and, if there are, (2) I would like to display the discount amount for that line item.

This way, I can avoid showing a zero discount like this:
"Your discount: $0.00"

Thank you for your help.
Something like this?

  {% if item.discount %}
  &lt;tr&gt;
    &lt;td&gt;Your discount is {{ item.discount|commerceCurrency( currency ) }}&lt;/td&gt;
  &lt;/tr&gt;
  {% endif %}