views:

77

answers:

3

I want users to be able to select a City from a dropdown list when checking out with UberCart.

  1. Is there a module that offers this?
  2. If not, how do I modify this form to include only certain cities as an option?
  3. Does the shipping module allow for you to get access to the City information?

Basically, I want to customly calculate the shipping costs based on the City.

A: 

Taxonomy will the best for cities...

Nikit
+1  A: 

There is not a module for this because the list of Cities is huge and ever changing (unlike States). Look into an integration of Ubercart and CCK so you can set up your own field for this.

I don't know of a module that does this offhand but it should lead you in the right direction.

Chris Ridenour
I did it with a simple form_alter hook.
RD
Ah well I didn't know if you felt comfortable writing your own module. Glad to see you got it worked out.
Chris Ridenour
A: 

I used the form_alter hook to solve my problem.

RD

related questions