Jump to content

Currencies help please


Sonu2007

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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:

 

Screen Shot 2014-06-10 at 1.28.15 PM.png

 

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated