kimaz Posted March 30, 2012 Share Posted March 30, 2012 Dear all, i'm such a newbie for prestashop and I have question to ask My shop is open and have promotion to who register within 30 April will get discount, so my question is is there possible to set that customer who register will automatically move to "my promotion group" not a "default" group? because now i have to monitor when someone register and do manual to move them to "my promotion group" 1 by 1 ,, too badd Link to comment Share on other sites More sharing options...
El Patron Posted March 30, 2012 Share Posted March 30, 2012 do you have mysql access? if so read on: 1. view your new group in back office-->customers-->groups (for example) and note the ID that you want to default to 2. Using PHPMYADMIN to access your database -Find table [your_db_prefix]_customer -Field "id_default_group" that has a predefined value of "1" that corresponds with the id of the "default" group in table "ps_group". 3. Change the id_default_group field to the value of your promotion group (in this example '2') when your drive is over just revert your default group back to '1' Link to comment Share on other sites More sharing options...
kimaz Posted March 31, 2012 Author Share Posted March 31, 2012 Thank for your answer, now i try to follow your step but, after i finish your step.. now when customer sign up new member they still in Group 1 default, not automatically in my group 2 promotion T-T Link to comment Share on other sites More sharing options...
El Patron Posted March 31, 2012 Share Posted March 31, 2012 Thank for your answer, now i try to follow your step but, after i finish your step.. now when customer sign up new member they still in Group 1 default, not automatically in my group 2 promotion T-T try backoffice-->preferences--->performance set cache 'n' and try it again...remember to reset back 'y' Link to comment Share on other sites More sharing options...
kimaz Posted March 31, 2012 Author Share Posted March 31, 2012 my cache is set to "no" already since from the start and It still not work I don't know why ps, i use PrestaShop™ 1.4.7.0 do I have to do some more things? Thank again for your answer Link to comment Share on other sites More sharing options...
El Patron Posted March 31, 2012 Share Posted March 31, 2012 I am going to test on my ps1470 today, will reply with results. Link to comment Share on other sites More sharing options...
El Patron Posted March 31, 2012 Share Posted March 31, 2012 if my previous post did not work for you, here is another method. Remember to restore your id_default_group back to '1'. You do not need to follow the previous post if you use the following change: I changed the code as follows and it works on our ps1470, i.e. new default is '2'.. 2 Link to comment Share on other sites More sharing options...
kimaz Posted April 1, 2012 Author Share Posted April 1, 2012 Last comments can solve my problem Thank you very much,, ;D So appreciated 1 Link to comment Share on other sites More sharing options...
006bonetti Posted May 29, 2012 Share Posted May 29, 2012 Hello, I m writing here, because many of you are developers of prestashop and you will know the answer for sure. I need to change functionality of Customers - Group logic, do you know, where i can find the scripts?? Where are all scripts of tools of BackOffice, such as customer management, group management, and import?? I can't find it in the file system, nor of those, i have just mentioned. I do not need to use some extra modules or use back office, i want to edit the code. Link to comment Share on other sites More sharing options...
reeecheee Posted August 12, 2013 Share Posted August 12, 2013 How do I access the code and where? I have had a prestashop site for 2 years now and I am still struggling quite a bit. Please help. Thanks Richie Link to comment Share on other sites More sharing options...
masdhona Posted August 28, 2013 Share Posted August 28, 2013 How do I access the code and where? I have had a prestashop site for 2 years now and I am still struggling quite a bit. Please help. Thanks Richie PS 1.4.8.2 /prestashop/classes/Customer.php Link to comment Share on other sites More sharing options...
The Report Store Posted September 10, 2013 Share Posted September 10, 2013 (edited) a cheaper alternative is located here (Customer Group Registration) in addition, you can use this module as a front office block, so the customer can change groups after they register. (Block Customer Group) Hi! Does your software work with PS 1.5.4? Also, can the group be attached to the My Newsletter & Stats program? Can the customer/Reseller belong to more than one group? Edited September 17, 2013 by LiseCL (see edit history) Link to comment Share on other sites More sharing options...
afshop Posted September 15, 2014 Share Posted September 15, 2014 (edited) if my previous post did not work for you, here is another method. Remember to restore your id_default_group back to '1'. You do not need to follow the previous post if you use the following change: I changed the code as follows and it works on our ps1470, i.e. new default is '2'.. Hi El patron, I have to setup a particolar customer group in automatic in the registration step for the user with a specific email domain. For example for each user with email [email protected] must be assigned to a specific group with a discount. How can I do it? Vers. P.S. 1.6 Thanks Angela Edited September 15, 2014 by afshop (see edit history) Link to comment Share on other sites More sharing options...
The Report Store Posted September 15, 2014 Share Posted September 15, 2014 What if they can belong to more than one group? Can your software allow for that? Link to comment Share on other sites More sharing options...
El Patron Posted November 27, 2014 Share Posted November 27, 2014 Hi El patron, I have to setup a particolar customer group in automatic in the registration step for the user with a specific email domain. For example for each user with email [email protected] must be assigned to a specific group with a discount. How can I do it? Vers. P.S. 1.6 Thanks Angela Hi Angela, sorry for late reply...that coding can be accomplished but it's out of scope of what can be provided in forum screen shots... Link to comment Share on other sites More sharing options...
afshop Posted November 27, 2014 Share Posted November 27, 2014 Hi Angela, sorry for late reply...that coding can be accomplished but it's out of scope of what can be provided in forum screen shots... Hi El patron, no problem, I solved it. Thanks Angela Link to comment Share on other sites More sharing options...
serms81 Posted July 23, 2015 Share Posted July 23, 2015 Hi El patron, no problem, I solved it. Thanks Angela How did you solved, Angela? I'm interested in set a customer default group different to "Customer" group. I'm thinking in "Validation pending" or something... PS 1.6 Link to comment Share on other sites More sharing options...
Recommended Posts