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

where magento set the group_id???? please help
 
i2p0
Sr. Member
 
Total Posts:  179
Joined:  2008-03-28
 

i would like to set the group id from the customer registration form adding an hidden input

<? if($custom_form) : ?>
<input type="hidden" name="group_id" id="group_id" value="3"/>
<? endif;?>
for retailer....

but the code before doesn’t work

i have checked the log file from mysql, but the group id is directly set as 1 (my default)
i think that magento will overwrite my group call, or it doesn’t allow the mod…
but where is during registration passage the function to set it???

i want to write the value into the “group_id” fiedl of “customer_entity” table…

can someone help me?? pleaseeeeee

 
Magento Community Magento Community
Magento Community
Magento Community
 
Alex Szasz
Jr. Member
 
Avatar
Total Posts:  21
Joined:  2008-08-29
Romania
 

You have to change the app\code\core\Mage\Customer\etc\config.xml file.
See http://www.magentocommerce.com/boards/viewthread/9620/P15/ for more info.

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