OK...I finally got the discounts working properly.
I have added the column discountedItem to my DB and managed to add the bindigs to the add to cart button.
What I need to do now is to show the individual price of the item in the cart with the discount applied. At the moment the discount only shows in the total, but I need the price per can in the basket to update automatically as the discount is applied.
So, basically I need to modify this line
echo WA_eCart_DisplayMoney($eCart, $eCart->DisplayInfo("Price"));
to show the price after discount.....how would I do that?
I also need to add 18% tax to all items and display Total Tax separatelly in the basket.
How can I do this?