I have written a customer import which works just fine. Now the requirement has changed .. the Magento instance runs now multiple stores / websites and i need to change the customer import so that the imported customers will get access to all stores.

What would be the best way to achieve that? Do I really need to loop through all websites and create a separate customer for each of them? Or is it somehow possible to create global customers?

1 Answer 1


Depends on the required scope.

Default behavior is that customers in different stores under same website can be shared. So you allocate website ID based on this. Customer can log in different stores using same credentials.

If however customers need to work on different stores in different websites you must create new customer records.

  • Too bad :( It would be nice without the redundant data Aug 16, 2019 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.