I have a Magento EE site with two store views, the default store and a mobile store. When creating orders in the admin I would like to skip the step that asks the user to select a store, e.g. all orders would be placed under the default store.
Mage_Adminhtml_Block_Sales_Order_Create_Form::getStoreSelectorDisplay():
$storeId = $this->getStoreId();
$customerId = $this->getCustomerId();
if (!is_null($customerId) && !$storeId) {
return 'block';
}
return 'none';
It looks like if I add $this->setStoreId(1)
in the constructor (or somewhere) then the store selector will never be displayed and the order will be created under the store of my choosing. My question is, is there a better way to do this?