0

I am using magento 1.9.

I want to get the quote details of guest in the shipping method step. I tried using this code

Mage::getModel('checkout/session')->getQuote()->getData();

But, It returns null on the first time of checkout. But returns data after refresh the page.

  • try ` Mage::getModel('checkout/cart')->getQuote();` – Gopal Patel Mar 9 '17 at 6:30
  • I need shipping method, shipping cost, billing address , shipping address and grand total values. but it gives only grand total. :( – Saravanan DS Mar 9 '17 at 6:41
  • where exactly you are calling Mage::getModel('checkout/session') ? – Gopal Patel Mar 9 '17 at 6:53
  • I have added a opc step using excellencemagentoblog.com/blog/2011/10/10/…. I am calling from that file – Saravanan DS Mar 9 '17 at 7:10

Your Answer

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

Browse other questions tagged or ask your own question.