Sultan Posted June 15, 2010 Share Posted June 15, 2010 Hi,I have diff. groups:1. visitors [id=1]2. member [id=2]3. vip [id=3]4. friends [id=4]When a visitor register he/she will be added to the visitor group [id=1] by default.What I am trying to do here is, once a visitor register and create account, I want to change his/her group to be member group [id=2] automatically not manually.WHY?!We accept order by phone, and we would like to encourage our visitors to sign-up and register in our website so they can get 5% off if they made their own orders using their accounts. By using this "member group" the prices will be displayed with the 5% discount once they log in.On the other hand, if a customer call to make an order, he/she shouldn't get this 5% off, so we need to display our prices without the 5% off.I really need help here, Please help/advice...Thanks in advance... Link to comment Share on other sites More sharing options...
Sultan Posted June 15, 2010 Author Share Posted June 15, 2010 Okay,I found out how to do it :-)and here is how if any one would like to do it:[1] open Customer.php on FTP_ROOT/classes/[2] search for the following code (line 118 or around on 1.3.1.1) $this->id_default_group = 1; [3] change 1 to the group id you want it to be default for registered customers.[4] Save.You are ready to go HTH some one...G'Luck 1 Link to comment Share on other sites More sharing options...
darqor Posted May 19, 2011 Share Posted May 19, 2011 with this solution you just save the default group. Nothing else....do you know any solution for that the customer can choose another group from the default group at the registration ???? Link to comment Share on other sites More sharing options...
isdisd Posted November 6, 2011 Share Posted November 6, 2011 Okay, I found out how to do it :-) and here is how if any one would like to do it: [1] open Customer.php on FTP_ROOT/classes/ [2] search for the following code (line 118 or around on 1.3.1.1) $this->id_default_group = 1; [3] change 1 to the group id you want it to be default for registered customers. [4] Save. You are ready to go HTH some one... G'Luck It is'n ok. When I make Order without registration, then system apply 5% discount. It is wrong. Link to comment Share on other sites More sharing options...
PariGupta Posted July 31, 2012 Share Posted July 31, 2012 Hi, Can we done this without changing the code???? Link to comment Share on other sites More sharing options...
bellini13 Posted July 31, 2012 Share Posted July 31, 2012 you can go into the back office and manually change the group the customer belongs to. otherwise you would have to change the code. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now