How to get store id of an order in Magento? $order = Mage::getModel('sales/ order')->loadByIncrementId('10000001'); //use a real increment order id here
Mage::getModel('core/store')->load($o->getStoreId())->getWebsiteId(). The above code should get the website id of the store that your order ...
Magento 2 how to get store information of order. $store_view_name = $_order-> getStore()->getName(); // Store view name of order.
Store Id Mage::app()->getStore()->getStoreId();. Store code
You can get store value with below code: to get store id in adminend $this-> getRequest()->getParam('store_id');. for frontend $store_id ...
product image · Next Get Value of Product Custom Option from Cart & Order ...
4 Answers. 4. order by. active, oldest, votes. Up vote 10 ...
$storeId = 3; /// Get Website ID $state ...
Like this: Mage::getModel('core/store')->load($storeId)->getWebsiteId(). Or do a direct database lookup on the core_store table.
Magento – Get Current Store Details (ID, Code, Name and Status). Post author By Kathir