Sonu2007 Posted June 9, 2014 Share Posted June 9, 2014 We accept 2 currency's EUR and USD, Currently WHMCS show price only in default currency. How to display price in both currency? 0 Quote Link to comment Share on other sites More sharing options...
CubeTower Posted June 9, 2014 Share Posted June 9, 2014 How can i override the client's currency settings, in order to allow charging of products in several currencies? (e.g. certain products will be presented and charged in US Dollars while other products will be presented and charged in Euros) Thanks a lot in advance 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Ryan Posted June 9, 2014 Share Posted June 9, 2014 Below is a video tutorial on how to add multiple currencies. Once you have added the additional currencies then the end user will have the ability to chose which currency they would like to use. --Thanks 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Ryan Posted June 9, 2014 Share Posted June 9, 2014 We accept 2 currency's EUR and USD, Currently WHMCS show price only in default currency. How to display price in both currency? Prahost, I merged your thread into this thread regarding multiple currencies. The answer I provided is exactly what you would need to do to be able to provide multiple currencies. --Thanks 0 Quote Link to comment Share on other sites More sharing options...
Sonu2007 Posted June 10, 2014 Author Share Posted June 10, 2014 Thank you for response. But i want to display both currency's on custom page. Currently it is showing default currency. it is possible? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Ryan Posted June 10, 2014 Share Posted June 10, 2014 Prahost - If you have added the additional currency as shown in the tutorial then you will want to Product/Services menu under the Setup tab and edit the product in question to see if you have both currency options enabled. If you have these both enabled the user has the option to select which currency they want to use: It may be possible to show both at the same time, if that is what you are wanting but it is not possible by default in WHMCS. It only provides an option to select which currency you want, if you offer more than one. --Thanks 0 Quote Link to comment Share on other sites More sharing options...
Sonu2007 Posted June 11, 2014 Author Share Posted June 11, 2014 sorry but i am talking about non-whmcs page. We are fetching details from mysql but it is showing price only in default currency on custome page. how to show price in all available currency 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Ryan Posted June 11, 2014 Share Posted June 11, 2014 Not sure I can help with that one since it is a custom page. If I knew more about the program language you were using, how you were calling the data, etc I may be able to help but most likely you will need to reach out to forums for web development since it is a custom page. --Thanks 0 Quote Link to comment Share on other sites More sharing options...
Sonu2007 Posted June 11, 2014 Author Share Posted June 11, 2014 They are just normal page in php + mysql to define variables which is called in template files 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 11, 2014 Share Posted June 11, 2014 another option would be to use Data Feeds - http://docs.whmcs.com/Data_Feeds it sounds like you're recreating the idea of Data Feeds in your code anyway, but if you wanted two separate pricing tables, EUR & USD, then you could use two javascript calls to display two separate tables.. <script language="javascript" src="feeds/domainpricing.php?currency=1"></script> <script language="javascript" src="feeds/domainpricing.php?currency=2"></script> if, as I suspect(!), you want them in the same table, then you'd probably need a second mysql query using the second currency value in tblpricing... but take a look at the code for the data feeds (in the 'feeds' directory), and they may help you find a solution. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.