How to get store id of an order in Magento?

How to get store id of an order in Magento?

$order = Mage::getModel('sales/order')->loadByIncrementId('10000001');
//use a real increment order id here

----- OR -----

$order = Mage::getModel('sales/order')->load(121); //use an entity id here

$storeId = $order->getStoreId(); // Here is your will get store id of that order

How to get store id of an order in Magento? How to get store id of an order in Magento? Reviewed by Web Technology Funda on 10:28:00 PM Rating: 5

No comments

Free! Free!Free! Subscribe to Get Free PHP (Magento) tutorial Update in Your Inbox!!! Hurry Up!!!