ingenesis/shopp — pull request #2473 by crunnells (2013-10-09 23:29:11+00:00)
Title:  Add API functions for finding discount amounts on cart items

Originally I wrote this for a client who needed a way to show his
catalog discounts in the cart so that customers can see the whole
savings of Item Sale Prices + Cart Item Promotions + Catalog Promotions.

There are some changes that I made to the cart.php template file that
I'm not sure are necessary, but I will post the code online for review.