NegativeZero Posted August 23, 2010 Posted August 23, 2010 Basically the site I am developing will support two languages and 2 currencies: English and French and USD and CAD. Ideally what i am trying to do is remove the currency box ( which i know how to do. ) and have 3 flags displayed in the language box: the US flag, Canadian Flag and the Quebec Province Flag ( Which I have set up ). So i would want the CAD currency displayed if Canadian or Quebec is selected else USD. Also i wanted the language on screen to be English if Canadian or US is selected or French if Quebec is displayed. There are currently directories for both languages and that part at least seems to work ( The languages switch where appropriately ). The issue is tying this in with currency. I believe that i have to set "Switch To Default Language Currency" in the admin ( When i do that though the currencies dont seem to change. ) Looking for some guidance on how to do this. Ultimatley i will be removed both the currency and language boxes adopting instead the flags at the top of the site. I have left the default database that came with my os. When i swith between US and Canada it seems to break the review even though it should show up for both flags. Not sure how the language ties into the review and how i will need to tie them together. In the Admin my Languages are set up thusly Name Code English (default) en United States us French fr Currency as such Name Code Canadian Dollars (default) CAD US Dollars USD I am running the latest version of WAMP on my home pc which is running PHP 5.3. The OsCommerce version is 2.2. RC2 The community forums have had a wealth of information to help get to this point without having to ask for assistance. Hoping to help get some answers other people might be looking for. Also if what i am asking has already been answered just link me to the post and i will admit humility.
NegativeZero Posted August 23, 2010 Author Posted August 23, 2010 I have found this in the langauage.php which i know helps in this issue define('LANGUAGE_CURRENCY', 'CAD');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.