Skip to main content
1 of 2

Commerce - show description of diescount without coupon applied to cart

We can retrieve description of discount applied to cart that has its own coupon like this:

craft.commerce.discounts.getDiscountByCode(cart.couponCode).description

Is it possible for discount that do not have coupons and are applied automatically?