Jump to content

[Solved] Customer not in Default Group- How to embedding customers to Default Group?


Recommended Posts

I migrated the tables in the database version 1.1 to version 1.2.5 embed various fields necessary for the new version on the old boards, everything seems to work well, but customers need to place them in the group "default" I have tried manually of embedding in the group ... but in reviewing the group and its members, is that members added manually, are not integrated.
Anyone have an idea of how to add these clients to the group "default"?

Thanks a lot.

Link to comment
Share on other sites

  • 4 months later...

I faced the same problem some time ago, I solved this with plain SQL
issue this sql in your prefered program to manage your database

insert into ps_customer_group (id_customer, id_group )
select id_customer , 1
from ps_customer
where id_customer not in ( select id_customer from ps_customer_group where id_group = 1 )

hope this helps

hugh

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...