Studyon Minte9.com
Magento




Admin associate to Website



In the admin panel when I go to Add a customer screen, in the "Associate to Website" field I see "Admin" 
selected by default. I would like to have my website there by default.

Add at the end of this function:
	-- Mage_Adminhtml_Block_Customer_Edit_Tab_Account::initForm

	$form->getElement('website_id')->setValues(Mage::getSingleton('adminhtml/system_store')
	->getWebsiteValuesForForm());


http://stackoverflow.com/questions/4816757/magento-adminhtml-default-website-in-new-customer-form