In a multi-site instance where each website is assigned specific domain name, I currently have a requirement to automatically switch customers to specific website. Please see example scenarios below…
Customer_A is in USA
Customer_B is in France
Here are three websites in the multi-site..
Website_1 (website.com)
Website_2 (website.com.au)
Website_3 (website.fr)
So if customer_A visits ‘website.com.au’, I want to automatically redirect him/her to ‘website.com’ while preserving his/her session.
Similarly if customer_B visits ‘website.com’, I want to automatically redirect him/her to ‘website.fr’ while preserving his/her session.
I’m able to detect and automatically reassign some locale parameters such as currency, language and store but the main challenge is where/when/how to redirect between websites while preserving customer session.
The multisite is set up without separate folders - as in here… https://www.magentocommerce.com/knowledge-base/entry/tutorial-multi-site-multi-domain-setup
Thanks for your help.