The fix is working great for me.

Thanks Ajeh for the help. The only thing I would suggest is that the discount seperate the % off and the subtraction of the shipping cost. so that the client can see that they are getting x%off plus the free shipping. I do not know how hard that would be to show, but it might be nice.