Question

I cannot import a customer-csv if the ‘website’ field is missing, or empty or containing ‘ETK-shop’. This field has to contain the value ‘ADMIN’ Then the import goes well, without errors.

However, if the field ‘website’ contains 'ADMIN', the customer cannot log in. I need to change the value of ‘website’ field to ETK-shop for the customer to be able to log in. But this cannot be done via ‘Manage Customers’ (?). So I need to alter the field website_id in the table ‘mage customer entity’:

UPDATE `etkm01_mage1`.`mage_customer_entity` SET `website_id` = '1' WHERE `mage_customer_entity`.`entity_id` =8201;

This does not seem the right way to get it to work. So what am I doing wrong? How can I import customers with the right website/-id?

Was it helpful?

Solution

Be sure to use the website-code as fount under System / Stores (screenshot)

Website code

Or create a customer manually in the webshop. Export customers and look what the value of website is. Use this again your the import.

I think it differs from ETK-shop.

The customers you are importing become Admin only and therefore you cannot login from the website.

Added after extra info about the error

Error: Skipping import row, website "%s" field does not exist.

I've took a look at the code, I would almost there is a error in the content entry. Website codes are matches case sensitive, to be sure nothing goes wrong, try entering them both in website and in csv lowercase.

Maybe you could edit System / Stores -> Website and set the code again(lowercase) and the in the import(lowercase). Then try again.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top