1
  • Platform: Magento 1.9
  • Area: Cart/Quote

I want to get cart grandtotal in my custom phtml file.

Is there any easy way to do it?

1 Answer 1

1

Simple code to fetch grand total anywhere in theme:

$grandTotal = Mage::getModel('checkout/session')->getQuote()->getGrandTotal();
4
  • That's good, you'r welcome Feb 26, 2019 at 17:28
  • Please mark answer as correct if it is helpful to you Feb 26, 2019 at 17:29
  • I am unable to mark your answer correct
    – Asim Ali
    Feb 26, 2019 at 17:30
  • Click on the check sign on left side of the answer, it will mark answer as correct :) Feb 26, 2019 at 17:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.