[OpenCart] Order Total Grand Total always zero(0)


Hello Friends,

I was working with Open Cart today and i found a strange issue that when i click on Add to Cart button, it adds product in Shopping cart. Everything works fine except Total Price. It shows Order Total to 0 in shopping cart page as well as Checkout page. I have searched a lot in code and check all the files related to Cart and function which calculate total of Order. All code is same as Open Cart provides. Since morning, i was searching for this and finally i got it issue and resolved it. Now it shows Order Total in Shopping Cart page and Grand Total in Checkout page.

This issue arise because “SubTotal” module was disabled. You just need to enable this module. To enable Sub Total module, follow below steps.
1. Login in to Admin Panel.
2. Go to Extensions > Order Totals.
3. Find Sub Total and Edit the module.
4. Enable it and Save it.
5. You are Done.

This easy trick solve the Grand Total to 0 or Order Total to 0 issue. Now you can see Total Price in Shopping Cart page, Quick Shopping Cart View Total and Order Total at Checkout page.

About Rakshit Patel
I am PHP Freelancer, Rakshit Patel AKA WordPress Freelancer working as PHP Programmer India. I am here to share all my developing knowledge, quick coding techniques, quick solutions to save your time and help you guys for any issue or bug fixing. If you have any PHP, WordPress, Magento related work, please contact me. I am interested for the work.

1 Comments on [OpenCart] Order Total Grand Total always zero(0)

  • landscape architecture
    June 23, 2013 at 5:23 am

    Hey there, You’ve done a terrific job. I am going to definitely digg it and personally suggest to my pals. I’m confident they will be took advantage of this web

Leave a Reply

Your email address will not be published. Required fields are marked *




DHgate Computers
DHgate.com - Computers, Cell Phones & more
  • We find everbuying built in php and use css to control the style.

About Author

PHP Freelancer

PHP Freelancer I am PHP Freelancer, Rakshit Patel working as PHP Programmer India. I am here to share all my developing knowledge with you people. For Hire PHP Developer India, contact me.
Follow on twitter: @raxit4u2

Get Free Programming Tutorials:

Become a Fan

Popular Topics

Recent Posts

Most Popular

Recent Comments

Get a Free Quote
Security Question: 3 + 8 = ?
Listing all pages