|
gggrrr.. I don’t think it unreasonable to want to show tax/vat included in the subtotal price, and also to the shipping price when someone presses the ‘update total’ button. Now I’m going to go find a dark room and cry!!
UPDATE:
Well after a lot of head scratching I’ve come up with a workaround that works for me.. no doubt there is a much easier way (as there always tends to be) but here’s what I did…
I had to override core functions in both:
1. \app\code\core\Mage\Sales\Model\Quote\Address\Total\Subtotal.php
2. \app\code\core\Mage\Sales\Model\Quote\Address\Total\Shipping.php
both those files have a function called ‘fetch’ (its the last one at the bottom), I added a bit of code that called the value of vat/tax, then just added it to the value it was outputting.
Seriously annoyed thought that either I’m too stupid to not see a simpler solution or that it is in fact not simple and Megento is just designed to mess with your head!
|