Jump to content

[solved] Changing default group for the new registered customers


Recommended Posts

Hi,

 

This questions is already asked in the forums but I don't know if the same solutions provided there suites newest prestashop.

 

OK, I have made 3 different groups of customers. They have IDs 1, 2 and 3.

 

Every time someone registers on my website, it gets group with the ID 3 and I dont want that as that group is for older customers and provide some extra discount. What I want is to make all new registered users to be in the group with the ID 2 by default.

 

Someone may ask if I want to let my customers choose the group when registering. No that's not what I want to do, as I will be the one who will move them from group to group if they reach certain criteria.

 

So What I want to do is to make all registered users on my website part of the group that is marked green in the printscreen attached below.

 

post-525426-0-18018600-1367492801_thumb.jpg

 

Thank you all in advance.

Link to comment
Share on other sites

changes that i described above you must apply into the MySQL database. You should use some database manager like phpmyadmin (almost all hosting services have got it)

 

have you got an access to this software? Can you check?

  • Like 1
Link to comment
Share on other sites

ps_configuration - this is a table, you can find it in left column right after login to your phpmyadmin (and after chose your prestashop database)

 

open this table and look for PS_CUSTOMER_GROUP field, then click on "edit" icon and change value of this param to ID of group you want to use as "default" in register process

  • Like 1
Link to comment
Share on other sites

This worked like a charm. Thank you Vekia and I'm sorry you had to spell me every step, I'm still learning and I focused 100% to the PrestaShop. Hopefully I will finish my first eshop very soon with the help of you and other in this community.

 

So far I'm very satisfied with the software as well as with forum people and their support B)

 

I hope I could soon provide to community as mush as I already got :)

 

There will be new topics soon from me

 

Please label this topic as solved. I have no intention to make to much trash on the forums!

 

Dean

Edited by Dolke (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...