ash Posted December 6, 2007 Share Posted December 6, 2007 Hi, I guess the development team at prestashop has been very busy recently with the new release and then answering all queries, a big thank you for your work in getting the new release out and answering my forum cries for help. I have a few questions / comments below on currencies (but these are comparitively minor). In adding a new currency it asks for the conversion factor. The question is, conversion from what? I guess that it may be the conversion from the first currency in the list (i.e. euros), but is this the case? When I ran the new update I noticed the the currencies were reset. I had renamed euros into British Pounds and also deleted dollars from the currencies (perhap sone day I shall be thinking Europe and US but not just yet!). The update has re-installed the dollar currency and renamed pounds back to euros. Is it advisable to always keep euros and dollars? Any chance of GBP being added as standard? Lastly on currencies, I do not want to give the users of my site the choice of which currency to use (i.e. I want to hide the currency dropdown). I had solved this by deleting all but the first currency in the backshop...is there a better way to achieve this especially as the update reset them all? I think that I could delete the code from the header.tpl to stop the dropdown being shown, however I quite like the solution adopted for Languages where I can set which language is shown and that then removes the language flags when only one is selected. Thanks in advance for your comments, Ash Link to comment Share on other sites More sharing options...
ash Posted December 6, 2007 Author Share Posted December 6, 2007 sorry, just read your new documentation regarding the conversion factor being to euros, please ignore that part. Link to comment Share on other sites More sharing options...
Matthieu Biart Posted December 6, 2007 Share Posted December 6, 2007 Hi ashley Concerning currencies, the documentation is obsolete and even wrong ! On the documentation, if it is not marked in red "updated" it is not updated ! And maybe obsolete. You use it at your own risks. So to resume the current currency situation : It is possible to change the default currency. To do it : You need to add a new currency first (except if you want to use one which already exists) "Back-office > Payment > Currencies" We will see later what's the conversion rate is After go to "Back-office > Preferences > Default currency" and select the new one. Save the new preferences. Now all your products' price are in this currency. Concerning the conversion rate : It is used to convert form the default currency to the (customer) selected currency By default, PrestaShop default currency is euro and conversion rate is used to convert to euro. So if you want to use dollar as default currency you just need to change the conversion rate and set it to default. Link to comment Share on other sites More sharing options...
Matthieu Biart Posted December 6, 2007 Share Posted December 6, 2007 To reply to others questions : When I ran the new update I noticed the the currencies were reset. I had renamed euros into British Pounds and also deleted dollars from the currencies (perhap sone day I shall be thinking Europe and US but not just yet!). The update has re-installed the dollar currency and renamed pounds back to euros. Is it advisable to always keep euros and dollars? Any chance of GBP being added as standard? You're right, currencies are reset on this upgrade and it shouldn't have happened. It is a horrible mistake. Rest assured, now that we noticed, no, since you noticed, it will be fixed and never happened again. Lastly on currencies, I do not want to give the users of my site the choice of which currency to use (i.e. I want to hide the currency dropdown). I had solved this by deleting all but the first currency in the backshop...is there a better way to achieve this especially as the update reset them all? I think that I could delete the code from the header.tpl to stop the dropdown being shown, however I quite like the solution adopted for Languages where I can set which language is shown and that then removes the language flags when only one is selected. To do it, the simpler solution is to remove from your template the form managing currency choice because chosing which ones should be displayed (except by making the template more complex) from the back-office is impossible right now. Link to comment Share on other sites More sharing options...
James Posted December 8, 2007 Share Posted December 8, 2007 Open your database in something like phpMyAdmin and use the followning SQL statement Back up first i am still learning but this worked for me. INSERT INTO `ps_currency` VALUES (3, 'Stirling', 'GBP', '£', 1, 1.00, 0); the conversion rate at the moment is 0.72 (as of this morning ) Stirling will now be selectable via both front and back office Link to comment Share on other sites More sharing options...
Matthieu Biart Posted December 10, 2007 Share Posted December 10, 2007 Hi James The back-office is here to avoid sql queries It is why tools like "Payment > Currencies > Add a new" is here Link to comment Share on other sites More sharing options...
James Posted December 10, 2007 Share Posted December 10, 2007 Bah! Just call me old fashioned ;D Still it worked for me. *Looks for the Manual* Link to comment Share on other sites More sharing options...
Recommended Posts