I am developing an online store for my customer and, we only have one website in our Magento setup.
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.
I think one possible way would be to write some code in:
Mage_Adminhtml_Block_Customer_Edit_Tab_Account::initForm
I took the hint from Lrrr’s answer and populated the drop-down with only user added websites, that is “Please Select” and “Admin” are no more available as options there by adding the following line:
at the end of this function:
The ideal way would be of course to override the above function in one’s own module, but in our case overriding the above class creates conflict for another extension that we have installed, so I took this way round.