Magento Not Adding Taxes To Grand Total

I was able to fix it by changing the codes in /app/code/core/Mage/Sales/etc/config.xml

 <totals>
                    <nominal>
                        <class>sales/quote_address_total_nominal</class>
                        <before>subtotal</before>
                    </nominal>
                    <subtotal>
                        <class>sales/quote_address_total_subtotal</class>
                        <after>nominal</after>
                        <before>grand_total</before>
                    </subtotal>
                    <shipping>
                        <class>sales/quote_address_total_shipping</class>
                        <after>subtotal,freeshipping,tax_subtotal,msrp</after>
                        <before>grand_total</before>
                    </shipping>
                    <grand_total>
                        <class>sales/quote_address_total_grand</class>
                        <after>subtotal</after>
                    </grand_total>
                    <msrp>
                        <class>sales/quote_address_total_msrp</class>
                        <before>grand_total</before>
                    </msrp>
                </totals>

The original code was:

<after>subtotal,freeshipping,tax_subtotal,</after>

I changed it to:

<after>subtotal,freeshipping,tax_subtotal,msrp</after>

I also added:

                        <before>grand_total</before>

I know I shouldn't mess with the core code, but this fixed it. I'm not 
wondering if there's anything that I can do to avoid messing with the 
core code. Thoughts?

https://github.com/hartmut-co-uk/magento-php7-totals-fix

Comments