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

Get Customer’s Website ID
 
fodaley
Jr. Member
 
Total Posts:  5
Joined:  2008-09-22
 

Hello,
I have 2 websites with the customer data shared on a global scope. I would like to redirect them to the website they were originally created for automatically upon sign in. Is there a way to retrieve what website they are assigned to? I know there’s a way...since it shows up when you edit their profile, but I can’t find such method.

I see things like getCustomerGroupId in the Customer Session...but have not found one to retrieve website. Thanks.

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