ServWise.com Posted June 2, 2009 Share Posted June 2, 2009 With the great new multi-currency functionality of WHMCS one thing that bugged me was that once a user registered they are stuck with the currency at the time of registration. Unfortunately WHMCS does not ask the customer at registration what their default currency should be so you can end up with customers registering and being stuck with a currency they don't want. The mode below added a currency selector to the registrations form template "clientregister.tpl" (For Portal template, but should also work in Default). Just add it somewhere in the main table and the user can then choose their currency. It will also preset the current currency if they have already chosen one. <tr> <td class="fieldarea">{$LANG.choosecurrency}</td> <td><select name="currency">{foreach from=$currencies item=curr} <option value="{$curr.id}"{if $curr.id eq $smarty.session.currency} selected{/if}>{$curr.code}</option> {/foreach}</select></td> </tr> 0 Quote Link to comment Share on other sites More sharing options...
robotronik Posted June 9, 2009 Share Posted June 9, 2009 Thanks, used this and it works great Always a good option if you have clients registering for affiliation etc. See here - http://nc-designs.co.uk/register.php 0 Quote Link to comment Share on other sites More sharing options...
inyerface Posted July 6, 2009 Share Posted July 6, 2009 That's great! Thanks for this!! Do you have a mod for the admin? We had all our clients in USD and when whmcs4 came out we mailed our Canadian clients to let them know that their account could be in CAD instead which many preferred... the only problem is that past (paid) invoices were also converted screwing up everybody's records.. Any thoughts? Do we even have access to the admin code? 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.