I am working with a module that has a lot of hard-coded calls to
Mage::getSingleton('checkout/session')->getQuote()
I am trying to call it from Adminhtml and in stead of rewriting a huge chunk of the module, I thought I would set the checkout session quote to the quote stored in my object (which is valid). However when I type the code:
Mage::getSingleton('checkout/session')
->setQuote($this->getQuote())
->save();
I get the following error:
Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'Mage_Core_Model_Config_Element' is not allowed'
Is there a quick way to override the checkout/session's quote?