Add “Automatic Discount app – Display savings in cart” link to your functionality.
This feature is a customization of Automatic Discount App. Give customers an automatic discount without having to enter a coupon code based on what they have in their shopping cart or the URL they come from. When the automatic discount is activated, you can
display the savings on the cart page or in the cart drawer.