I am facing the strange issue. I have enabled multi currence on the store but when I change the currency from cart page I seeing entire blank page and getting error'Allowed memory size of 268435456 bytes exhausted '.While trying to debugg the issue I found that I am not getting the value in $quote. I am using following code to get quote $quote= Mage::getSingleton('checkout/cart')->getQuote(); please help me in this issue.


Please use following code for quote in your code

$quoteId = Mage::getSingleton('checkout/session')->getQuoteId(); 
            $quote = Mage::getModel('sales/quote')->load($quoteId); 

Hope this helps. Mine worked with this too...


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.