Jump to content

"Choose Currency" currency selector


Recommended Posts

I'm sure that this is a configuration error on my part but I seem unable to find the problem. :( I hope somebody can point me in the right direction.

I run WHMCS 7.4.2 at present.

I have 3 currencies defined. GBP, USD, ZAR. GBP is my default currency.

I have added domains for registration. Pricing on the domains have GBP and ZAR enabled.

I have added some shared hosting products. At the moment all the shared hosting products only have ZAR pricing.

It is my understanding that if I visit the cart WHMCS will respond that is finds no products. This is because the default currency is GBP. So far everything seems ok.

If I then select the ZAR currency in the  "Choose Currency" dropdown, I would expect the currency to change to ZAR and the products only priced in ZAR to be displayed.

However unfortunately when selecting a different currency, the cart defaults back to GBP and only displays products with GBP pricing.

What am I missing? Why is the currency not changing?

I tried forcing the currency via the URL using ?currency=<currency_id_in_tblcurrencies> but this did not change the currency, it just defaulted to GBP.

I even tried to force the cart template to standard_cart using ?carttpl=standard_cart and although the template changes the currency does not.

Please enlighten me.

Link to comment
Share on other sites

It is so sad to have to answer yourself. The issue was caused by the Geolocation Hook For WHMCS offered by ModulesGarden. The hook prevented WHMCS to switch currencies. 

As per my initial assumption, I was the cause of my own problem. :( 

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.

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