Assuming you have 1 domain: domain.com with a running Magento installation with 2 websites (with each 1 store) I would suggest the solution below.
Create 2 sub-directories in your Magento root folder like this:
<magento-root-folder>
en
symlink to ../app
symlink to ../errors
symlink to ../.htaccess
symlink to ../js
symlink to ../lib
symlink to ../media
symlink to ../skin
copy of ../index.php with some modifications
de
symlink to ../app
symlink to ../errors
symlink to ../.htaccess
symlink to ../js
symlink to ../lib
symlink to ../media
symlink to ../skin
copy of index.php with some modifications
After that I would adjust the base urls of both websites to be:
domain.com/en
domain.com/de
Make the requirement modifications of index.php in each sub-directory:
Replace
/* Store or website code */
$mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : '';
/* Run store or run website */
$mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store';
Mage::run($mageRunCode, $mageRunType);
with (*don't forget to modify 'THE_CORRECT_STORE_CODE' in the below code snippet*)
Mage::run('THE_CORRECT_STORE_CODE', 'store');
Inside your Magento-root folder I would create a index.html file that will server as the language selection page. (When doing this don't forget to change the DirectoryIndex index.php
inside the .htaccess file)
Also in this .htaccess file you should redirect all traffic that wants to visit non language/country specific urls to the language selection page...
I hope this helps you out ;)
You can set price per website basis.
you need to go to System->Configuration->Catalog.
Then in the tab "Price", set Catalog Price Scope to "Website" instead of global.
Best Answer
You can configure the default and allowed currencies per store view.
In terms of the system configuration of the Magento admin:
System
>Configuration
menu.General
>Currency Setup
tab.Currency Options
group, change the values forDefault Display Currency
and/orAllowed currencies
(after uncheckingUse websites
), and pressSave Config
.