I want to create some customers programatically and I have an issue when I want to save the website ID.
I have multiple website IDs:
0 => admin
1 => germany
2 => hungary
3 => romania
This is my code:
$customer = Mage::getModel("customer/customer");
$customer->setWebsiteId(3);
$customer->setStoreId(1);
.....
$customer->save();
When I saved a customer I get the Admin
value selected from the website drop down. Whatever value I give to the website Id (like 12321
) I got the Admin
value. Why ?
Thanks.