faisal Posted October 5, 2015 Share Posted October 5, 2015 Hi I am using USD as default currency and have SAR as sub currency because my CC gateway module require it. Is there an easy way to disable "choose currency" from all client area or Force the client to use default currency instead of find and delete all the "choose currency" codes from all template files and order forms? WHMCS V6.x Thanks in advance. 0 Quote Link to comment Share on other sites More sharing options...
faisal Posted November 17, 2015 Author Share Posted November 17, 2015 Is this hook OK? <?php $forcedcurrency = '1'; if($_SESSION['currency'] != '1') { $_SESSION['currency'] = $forcedcurrency; } So if new client visit any link and add ¤cy=x where x is any number it force him back to currency Id 1 which is USD Thanks in advance. 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.