Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Setup new customer request accept or deny
 
Ashish Arora
Member
 
Avatar
Total Posts:  54
Joined:  2009-11-15
India
 

I m builting new magento store…

i have two basic requirements....

1) Allow customers to select which customer group they want to join on the registration time

2) Allow admin to accept or reject reuests or users . eg if a customer would like to join as a wholesale customer admin has rights whether he want to allow it or not

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ashish Arora
Member
 
Avatar
Total Posts:  54
Joined:  2009-11-15
India
 

hey plz guyz help me ....

i need to do it very urgent

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ashish Arora
Member
 
Avatar
Total Posts:  54
Joined:  2009-11-15
India
 

HI tzyganu

thanx for ur action..

but the problem is not resolved yet…

i didnt understand what is in thread u specified…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ashish Arora
Member
 
Avatar
Total Posts:  54
Joined:  2009-11-15
India
 

thanx tzyganu

i had done it you can check here

http://www.magentocommerce.com/boards/viewthread/24208/

thanx for help anywaz....

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ashish Arora
Member
 
Avatar
Total Posts:  54
Joined:  2009-11-15
India
 

Now half of my problem is resolved....

next i want that admin can accept or deny the request of the users before they can start purchasing products.......

bcz prices are different for wholesalers and general users…

i dont want fake wholesale users to purchase in my store

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ashish Arora
Member
 
Avatar
Total Posts:  54
Joined:  2009-11-15
India
 

somebody reply plz if the know abt it…

i need it urgent

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ashish Arora
Member
 
Avatar
Total Posts:  54
Joined:  2009-11-15
India
 

Second problem is also resolved
install customer activation ectension
THen do the following change

Go to app/code/core mage/customer/controller/accountcontroller.php

/ * $customer->getGroupId();*/
Find the above line in ur page under function createPostAction()

paste the below code after this and u r done.................. 

$cid=$customer->getCustomerId();

$gid= $customer->getGroupId();
if($gid != 2)
{
$customer-> load($cid);
$customer -> setCustomerActivated(1) -> save();
}

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top