getWebsite()->getId(); $store = Mage::app()->getStore(); $customer = Mage::getModel("customer/customer"); $customer ->setWebsiteId($websiteId) ->setStore($store) ->setFirstname('Ivaylo') ->setLastname('Test') ->setEmail('ivaylo@pandiweb.dk') ->setPasswordHash($hashed); $customer->save(); ?>