I created a discount for 50% off (with a coupon code)
To my astonishment and of course after submitted orders, I found out that the 50% is taken off the total cost of the Old Price of the product, and shipping. (My conclusion comes from anaylising the shopping cart math - not code.)
For instance... the product is Shoes1.
Shoes1 costs 110.00 usd. Shipping is 10.00 usd.
Shoes is discounted with Price at 70.00 usd.
The total discount in the cart is $60.00!!! That means my item is selling for $10.00 and I'm losing money!
That is because 110 + 10 = 120 / 2 = $60.
The correct amount should be a discount of $35 and an order total of $45.00 (not $20 like it is currently).
This needs to be fixed imediately...
Can someone please tell me where the code logic is for the Discounts so that I may fix it to what it should be?