Has anyone added a user form to choose a country to their installation? If so, would you be willing to help me out? I have some of the code I need, but don't know where to place it.

I am not asking for official support because I know I shouldn't be messing with it if I don't know what I'm doing, so I'm just looking for some peer support here. Thanks.

Comments

GJL’s picture

I'm not sure that this is exactly what you are looking for, but this might help:

http://www.ubercart.org/contrib/6102#comment-29170

I set up multicurrency to allow the user to select the currency they wished to purchase in, based on the country the currency is mapped to.

tr’s picture

The module comes with a "Country Selection" block. You can go to admin/build/block and just add it to your pages. If you want to put the same functionality in your own code, take a look at the hook_block() implementation. That's why I included it - to give you an example.

kddailey’s picture

Thanks so much! I didn't realize it was a block. That did the trick. Thanks for responding -- and for the great module.

tr’s picture

Status: Active » Closed (fixed)