I was wanting to know if you ever got this working? I am trying to do the exact setup as you are.
I have successfully set up a multi store environment, but I am unable to share the cart. I know I have something wrong and was hoping you could shed some light on this for me.
We have our own server and have setup the different Url's to point to the root document of the main site. Then I have the other domains parked.
In my index.php I have something like this....
switch($_SERVER['HTTP_HOST']) {
case 'site1.com':
case 'www.site2.com':
Hi Mike,
I was wanting to know if you ever got this working? I am trying to do the exact setup as you are.
I have successfully set up a multi store environment, but I am unable to share the cart. I know I have something wrong and was hoping you could shed some light on this for me.
We have our own server and have setup the different Url's to point to the root document of the main site. Then I have the other domains parked.
In my index.php I have something like this....
switch($_SERVER['HTTP_HOST']) {
case 'site1.com':
case 'www.site2.com':
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : 'site1';
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
Mage::run($mageRunCode, $mageRunType);
break;
Can you tell me how you did it?