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

Simple code to fetch grand total anywhere in theme:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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