Multiple websites on Magento 1.4 single installation

Last modified by jenifferjones on Fri, August 17, 2012 02:53
Show Page|Old Revisions  

This shows you the differences between the selected revision and the current version of the page.

4_-_themes_and_template_customization:navigation:multiple-website-setup 2011/12/21 05:43 4_-_themes_and_template_customization:navigation:multiple-website-setup 2012/08/17 02:53 current
Line 93: Line 93:
===== Multiple Website Setup for US/EU/UK Stores/Pricing ===== ===== Multiple Website Setup for US/EU/UK Stores/Pricing =====
-If you want to set your own prices for $/€/£ and not have potential customers from the US get to see your UK pricing then you can install Apache mod_geoip and use the country codes in your index.php to direct your visitor to the correct website.+If you want to set your own prices for $/€/£ and not have potential customers from the US get to see your UK pricing then you can install Apache mod_geoip and use the country codes in your index.php to direct your visitor to the correct [[http://www.cyberworldltd.co.uk|website]].
Note that using websites rather than stores may be necessary if you are not using automatic currency conversion, i.e. you set the $, € and £ prices to be sensible figures, e.g. ending in a .99 and not whatever gets converted that day from your base currency. Note that using websites rather than stores may be necessary if you are not using automatic currency conversion, i.e. you set the $, € and £ prices to be sensible figures, e.g. ending in a .99 and not whatever gets converted that day from your base currency.
Line 146: Line 146:
You should not have to worry about refreshing caches etc. to get this to work, however, you may want to do some online testing using proxy websites in different countries. You should not have to worry about refreshing caches etc. to get this to work, however, you may want to do some online testing using proxy websites in different countries.
-Note that in this example the three website codes are 'base', 'europe' and 'usa'. Anything not picked up as North American or Euro-zone gets treated as 'base', in this case the UK. (This example is for a Britisher store.)+Note that in this example the three website codes are 'base', 'europe' and 'usa'. Anything not picked up as North American or Euro-zone gets treated as 'base', in this case the UK. (This example is for a famous British store named [[http://www.cyberworldltd.co.uk|Cyber World UK.]])
If using this technique then you can change the default option in the php case statement to test the other websites. Note that in the backend you need to set the websites URL's to all be the same, i.e. with no http://www.example.com/eu /us /uk variants, just http://www.example.com will do. Everything also goes through to the same document root. If using this technique then you can change the default option in the php case statement to test the other websites. Note that in the backend you need to set the websites URL's to all be the same, i.e. with no http://www.example.com/eu /us /uk variants, just http://www.example.com will do. Everything also goes through to the same document root.
If using this technique then you do not have to use different flags at the top of the page to 'select your own currency', however, there is no reason why you cannot enable currency translation for your base store and show the currency selector if the GEOIP value is not that of your base country. In that way you can keep a clean and tidy page design. If using this technique then you do not have to use different flags at the top of the page to 'select your own currency', however, there is no reason why you cannot enable currency translation for your base store and show the currency selector if the GEOIP value is not that of your base country. In that way you can keep a clean and tidy page design.



 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs