2

I'm trying to share my customer account Globally:

I have two stores :

www.mainstore.com

store1.mainstore.com

I want to add functionality that if customer register any of the store can have access to login any store with same details.

To activate this made some changes in admin panel > system > configuration > customer configuration > Account Sharing Option > Share Customer Accounts > Global.

After changing the setting to Global when i click on save Config button i got below error : Error : Cannot share customer accounts globally because some customer accounts with the same emails exist on multiple websites and cannot be merged.

enter image description here

Why i am getting this error ? Suggest me the solution for this issue.

4
  • It is because there are certain customers who have account on both the website and they might have different password or billing, shipping address. Merging them is not possible as it will require to delete information from one account.
    – Dexter
    Commented Nov 26, 2014 at 8:01
  • @Dexter. You should put you comment as an answer.
    – Marius
    Commented Nov 26, 2014 at 8:02
  • store1.mainstore.com is my fresh store and there is currently no customer registered. Commented Nov 26, 2014 at 8:04
  • @Marius: Ayeee... Added..
    – Dexter
    Commented Nov 27, 2014 at 5:27

2 Answers 2

2

This works for me :

Run this query in you database :

SET SESSION old_alter_table=1; ALTER IGNORE TABLE customer_entity ADD UNIQUE INDEX duplicate_email (email);

1
  • this made my day :)
    – MagePsycho
    Commented Feb 14, 2016 at 10:36
1

It is because there are certain customers who have account on both the website and they might have different password or billing, shipping address. Merging them is not possible as it will require to delete information from one account.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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