Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Currency Dropdown in Header Problem


Recommended Posts

I put some code up into my header to allow put the currency drop-down to stay there instead of on the side column. Everything works for showing the different currencies. But I have a few problems.


1: When a customer changes categories for the products, it reverts back to the default currency.


2: In the dropdown, it doesn't show what currency is selected. It shows only the default currency.


   echo '<form name="currencies" action="" method="get"><select name="currency" onChange="this.form.submit();" style="width: 120"><option value="USD">US Dollar</option><option value="EUR">Euro</option><option value="CAD" SELECTED>Canadian Dollar</option><option value="AUD">Australian Dollar</option><option value="GBP">British Pound</option></select></form>';


Can someone give me a hand with this please? I'd be much appreciative.

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

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

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.


  • Create New...