penge Posted December 19, 2003 Share Posted December 19, 2003 I would like the customer to select their currency by clicking a currency or flag button on a page before the main site is displayed. Once the currency is selected, the site will load with that currency displayed. Is it possible?? Penge Link to comment Share on other sites More sharing options...
241 Posted December 19, 2003 Share Posted December 19, 2003 yes this is possible using a simple link I have done this with my site. I have the flags on the main page and if clicked on this puts into that language. If you are unsure of the code I will try to explain. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
penge Posted December 19, 2003 Author Share Posted December 19, 2003 Hi 241, Yes please! Penge Link to comment Share on other sites More sharing options...
241 Posted December 19, 2003 Share Posted December 19, 2003 ok here we go then. I may switch to email if coding gets to long. place the flag image where you want on your page then set link as follows <a href="http://www.your site goes here.com/catalog/index.php?language=de"></a> remember to change /catalog/ to whatever you have called your store. you are calling to index.php the ?language=de gives German and if you have defined the languages and currencies in admin panel then this will link load the page auf Deutsch mit der korrekten W?hrung (in german with the correct currency) do the same for each language changing ?language=fr for french ?language=es spanish ?language=ru russian etc. If you need more info or the complete code as laid out with an image then pm or email me. it is a straight forward html link in to the catalog, so if you know your html you should find this easy. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
penge Posted December 19, 2003 Author Share Posted December 19, 2003 Hi 241, I will try it and let you know Penge Link to comment Share on other sites More sharing options...
penge Posted December 19, 2003 Author Share Posted December 19, 2003 Hi 241, Since I only have one language on the site, your suggestion does not work for me. I modified it to: <a href="http://www.your site goes here.com/catalog/index.php?currency=EUR"></a> and it works! Thanks for the idea. Happy Christmas Penge Link to comment Share on other sites More sharing options...
241 Posted December 19, 2003 Share Posted December 19, 2003 No problem, I only presumed that you were using multiple languages along with currencies, but if you only have the one language and multiple currencies then, yes you have got it just use the extension ?currency= No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
penge Posted January 24, 2004 Author Share Posted January 24, 2004 <a href="http://www.your site goes here.com/catalog/index.php?currency=EUR"></a> index.htm has five flags to select currency before the site loads. This works fine for the first page - but when a product is selected the currency goes back to the default currency set in admin. Have a try - Ambermoods How do I get the cart to retain the currency setting from clicking the flags? Penge Link to comment Share on other sites More sharing options...
penge Posted January 26, 2004 Author Share Posted January 26, 2004 What is the command to select currencies from the info box? How do you select currencies by clicking images? Link to comment Share on other sites More sharing options...
escv Posted May 11, 2004 Share Posted May 11, 2004 It looks as if you figured this out. I too only use one language and would like to offer multiple currencies (US & EUR). Can you please explain how you got it to work ? Thx. Link to comment Share on other sites More sharing options...
penge Posted May 11, 2004 Author Share Posted May 11, 2004 Never managed to get it to work properly, the example <a href="http://www.your site goes here.com/catalog/index.php?currency=EUR"></a> only worked for the first page, as soon as another link is selected, the site defaults to the currency set in admin. What I am looking for is the code which is in the 'select currency' option which works for all subsequent links until the currency is changed - any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.