Guest Posted October 4, 2005 Share Posted October 4, 2005 HI there... Our prices look crazy... Please help us??? :( We have 'Categories' (x, y, and z) with products ~> each from a specific country (country/cat=x, country/cat=y, country/cat=z) Prices in each Category must display in ~>local currency<~ (country/cat x product is priced in Country x Local Currency) Because our site has Categories (countries + local products) from several countries. ~>"Local" people want to see prices in 'their money' People from 'far away' can buy those nice things, too (we hope?). ~>They want to see an indicator price (calculated by osC, in their home currency, too) How do we do this please???> Now our prices are ~funny~ they are so wrong! The default currency is fine, but the others... well, HA*HA! Please help us??? Many many many thanks!!! Charles :D [p.s. Obviously, our bank will do the transaction by 3D Secure/Verified by VISA + MasterCard SecureCode] Link to comment Share on other sites More sharing options...
♥Vger Posted October 4, 2005 Share Posted October 4, 2005 The last person who posted this question had added new languages by copying the 'english' language folder and files and then translating them. You need to go to includes/languages/yourlanguage.php and change 'USD' to the three letter symbol for the currency to go with that language. Do the same for all the other includes/languages/yourlanguage.php files. Then, in your osCommerce admin control panel set 'Switch To Default Language Currency' to true. Vger Link to comment Share on other sites More sharing options...
Guest Posted October 4, 2005 Share Posted October 4, 2005 The last person who posted this question had added new languages by copying the 'english' language folder and files and then translating them. You need to go to includes/languages/yourlanguage.php and change 'USD' to the three letter symbol for the currency to go with that language. Do the same for all the other includes/languages/yourlanguage.php files. Then, in your osCommerce admin control panel set 'Switch To Default Language Currency' to true. Vger HI There Vger::: Making real progress here, THANKS=To=You! ... OK... 1. Putting in the 3 letter code in that php file, and switching ON the binding between language and currency, instead of counting on the default in the off position, is the way to go when there are so many languages. Bullet proof... 2. Everything displays in the right currency, now, every time..and it is linked to the default language to the currency commonly used in business for our >customer profile< (most of the time the 'local langauge,' but not always!) 3. LAST STEP... We need to prioritize each CATEGORY, please for <its default currency>...then all the other things will work, per your instructions! Very nice... ~~~>If we don't separate CATEGORIES by default currencies, a little product costing 10 EURO (~296 Kc [Czech Crowns]) will display as "10 Kc" and really cost the customer only "10 Czech Crowns" at the cash desk/check out ...=Big Nonsense+Instant Bankruptcy! (This is also because Czech Crowns are our 'default currency'...at the bank, too) Example: One category is exclusively Czech products. THOSE 'PRODUCTS' should start out in Czech Crowns in their home page 'CATEGORY' which is Czech products On the same page should display some other nice 'European' products, too, in their <top line> 'official price' and <bottom line> 'local equivalent' indicator price under each photo thumbnail Please,please, please... ~>~>~>How do we fix this confusion and eliminate the Short Road to Finacial Ruin??? :o MANY+MANY+ MANY+THANKS!!! ;) p.s. Later, Yes; I will use the 'copy English language files' trick you described to make the other English language versions. I expected that 'that' was the answer. Simple & Effective. Just switch 'flags' in the respective images folders and 3 letter currencies in the respective 'local' php files, as you described. ...Many Thanks! Link to comment Share on other sites More sharing options...
♥Vger Posted October 4, 2005 Share Posted October 4, 2005 Make your default currency 1.00, and then click 'Update' and all other currencies will be a conversion of the local currency. Do this once each day and the conversion rate will be up to date. Vger Link to comment Share on other sites More sharing options...
Guest Posted October 5, 2005 Share Posted October 5, 2005 Make your default currency 1.00, and then click 'Update' and all other currencies will be a conversion of the local currency. Do this once each day and the conversion rate will be up to date. Vger Ooh...That is interesting. Thanks! I actually have the default currency set at 1.00 but is there a difference between 1, 1.00, and the longer number of zeros? Sometimes it seems to generate many zeros to the right of the decimal point 'all by itself' Which raises another 2 small issues, please. 1. What should be the numerical factor for the 'other' currencies, please? 1, 1.00 or zero or what??? And... 2. Decimal places. I have assumed this to be "2" and that this means there are two characters to the right of the decimal point like one pound fifty pence is 1.50 and the decimal places refers to the "50" Is this the correct thinking here, please? Many thanks, Charles p.s., Is there a contribution anywhere out there to make the generic osC currency system go look for a currency update once or more times a day, please? That would be _useful_ for everybody's little shops!!! In fact, that would be a great permanent "add-in" for future generations of the shop program.... Or maybe it is there, already, 'lurking~somewhere~inside~the~code'??? Many Many Thanks!!! Link to comment Share on other sites More sharing options...
♥Vger Posted October 5, 2005 Share Posted October 5, 2005 I have assumed this to be "2" Correct. Vger Link to comment Share on other sites More sharing options...
Guest Posted October 5, 2005 Share Posted October 5, 2005 Correct. Vger Hi there... Many thanks on #2. That is very very important to know. ...Concerning #1, please? "1. What should be the numerical factor for the 'other' currencies, please? 1, 1.00 or zero or what???" My guess: I have set them all to be 1.00, as I think that you were recommending - if I understood properly, but sometimes the system adds extra zeros. Am I correct in assuming that the extra zeros is only available as a 'courtesy calculation' for traders needing to track track finely tuned numbers right of the decimal point (all be it 'approximate'~obviously not for real forex use, hence, 'unrounded')? [XE, in particular, states its numbers are not intended for trading.] Thus I am assuming that a setting every of 1.0 will produce 'usable results' in all currencies for informing customers of approximate value equivalents in their home currency. Am I correct here, please? Many thanks for the precision! Have a nice evening! ...Charles Link to comment Share on other sites More sharing options...
♥Vger Posted October 5, 2005 Share Posted October 5, 2005 Your main currency is set as your 'default' currency and its value is 1.00. It does not matter what value you enter for the other currencies you add because when you then click 'Update' all other currency values are updated with their exchange rate to the default currency. You need to use two decimal places for any currency - because these two decimal places referred to are for the one hundredths of the main unit of currency. So if it was a US Dollar value it might be $2.99cents. Vger Link to comment Share on other sites More sharing options...
Guest Posted October 5, 2005 Share Posted October 5, 2005 Your main currency is set as your 'default' currency and its value is 1.00. It does not matter what value you enter for the other currencies you add because when you then click 'Update' all other currency values are updated with their exchange rate to the default currency. You need to use two decimal places for any currency - because these two decimal places referred to are for the one hundredths of the main unit of currency. So if it was a US Dollar value it might be $2.99cents. Vger You are a patient soul to teach us! THANK YOU Very Kindly! Yes, I see. That is very nice programming! ~~~ One more little question on this theme and we will have it all fixed, please. Because we sell things from different countries (both to people 'there' and 'abroad'), we must price things in local currency and let people pay precisely that in unit, via our 'smart' Czech Savings Bank. For us... Each "Category" (which is really a country) must have a different base 'local' currency and 'local' products from it must be charged at the right rate/value, wherever they are displayed...even if they are the kind of 'other nice things you might want to buy" in another category... Remember please that we want to ^SELL UP^ the value chain with similar products the client might also 'love to have' from little us... i.e., If you are in the UK, you will probably want to pay in Pounds Sterling ...and know the EXACT price you will pay before you start clicking to the check out...because you think every day in GBP My neighbor is in Czech Republic and he/she wants to pay in Czech Crowns My friends in France expect to pay in EUROS My friends in Lithuania expect to pay in LITS etcetera... Our philosophy is that on our site you can do that _because_ our Czech bank can handle that. We sell services, not things, and if you are "at home," you probably want to pay a stable price you can predict in your head, not find out that 'this week it is more expensive' or less expensive because some central bank somewhere changed the exchange rate! Grrrrr! Thankfully, osC will display 'local equivalents' on the 2nd line but... a Euro product should be always charged and displayed in Stable Euros, ...etcetera. My installation is not yet right, because it takes my base currency (Czech Crowns) and assumes everything is in Crowns... Even EUROs get calculated as Czech Crowns. That is Not Good! Thus a nice little product costing 10 EURO (~296 Kc [Czech Crowns]) will display as "10 Kc" and really cost the customer only "10 Czech Crowns" at the cash desk/check out ...=Big Nonsense+Instant Bankruptcy! ...>How do I fix my installation, please, so each category and the products from that category always have the right real value through to the checkout/cashdesk??? :rolleyes: Many many thanks, one and all! Charles :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.