Magento: How to Get Quote when Admin Manually Creating Order

October 17, 2011 § 1 Comment

In the frontend store, we normally use

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

But in the admin panel, if you ever want to access the quote that is created by admin you can use

Mage::getSingleton('adminhtml/session_quote')
Advertisements

Tagged: , , ,

§ One Response to Magento: How to Get Quote when Admin Manually Creating Order

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Magento: How to Get Quote when Admin Manually Creating Order at Nick Wan L.K..

meta

%d bloggers like this: