woocommerce_states_places icon indicating copy to clipboard operation
woocommerce_states_places copied to clipboard

[Romania] Able to chain City with Zipcode

Open robert1112 opened this issue 7 years ago • 28 comments

Hi

Thanks so much for your EXCELLENT work.

This is what I am looking for for a very long time! Just I wish to autofill Zipcode while City dropdown is selected! Can this be accomplished? Please kindly advise. Thank you so much!

robert1112 avatar Mar 11 '17 23:03 robert1112

Hi Anyone can help?

robert1112 avatar Jul 08 '17 02:07 robert1112

Sorry, I missed the notification for this issue when it was created

I'll take a look

chitezh avatar Jul 08 '17 12:07 chitezh

Hi Thank you so much for your help. If it is a lot of work, I can certainly consider of paying for the work. Thank you again.

robert1112 avatar Jul 08 '17 12:07 robert1112

I also need this ...

Killeros avatar Nov 05 '17 15:11 Killeros

I believe this project is no longer active...

Killeros avatar Nov 08 '17 09:11 Killeros

Could someone make this ?

Killeros avatar Nov 08 '17 09:11 Killeros

Hey guys,

I'm not actively using this at the moment. I would appreciate if someone could add the feature and send a PR

chitezh avatar Nov 08 '17 10:11 chitezh

@Killeros three comments in a row, really? What about if you do this feature and send the PR? Well, if you send me a CSV, Excel or something with the ZIP codes for every city I can make this feat.

LuisUrrutia avatar Nov 08 '17 13:11 LuisUrrutia

Sorry for triple posting mate, i had to get somebody's attention :).

So i need this plugin to work for country Romania.

I have uploaded a zip file with a excel doc containing the shortcode of every state/county with each town/city name and each zipcode for each town/city . If you make this work, you are the best ever :D

Killeros avatar Nov 08 '17 18:11 Killeros

No problem. Can you add the state name to the excel?

LuisUrrutia avatar Nov 08 '17 18:11 LuisUrrutia

Only the state name or you also need the ShortCode? I thought you need the shortcode as in the woocommerce State/RO ?

Killeros avatar Nov 08 '17 18:11 Killeros

@Killeros he'll need both

chitezh avatar Nov 08 '17 18:11 chitezh

@Killeros he'll need both

chitezh avatar Nov 08 '17 18:11 chitezh

RO-CITY-ZIP.zip It`s now ( STATE NAME, STATE SHORTCODE, CITY, ZIP )

Killeros avatar Nov 08 '17 19:11 Killeros

could this be made? i could pay also for it to be made

Killeros avatar Nov 13 '17 11:11 Killeros

@LuisUrrutia were you able to look this?

chitezh avatar Nov 13 '17 16:11 chitezh

Yes I'm into it, but I was a little bit busy, so I think that tomorrow I will send a PR with the changes 😄

LuisUrrutia avatar Nov 13 '17 19:11 LuisUrrutia

Awesome!

chitezh avatar Nov 13 '17 19:11 chitezh

@LuisUrrutia have you managed to make something work ?

Killeros avatar Nov 22 '17 16:11 Killeros

someone else could make this work ?

Killeros avatar Nov 25 '17 16:11 Killeros

any hints how i could make this work myself?

Killeros avatar Dec 01 '17 13:12 Killeros

I'm not sure I know. I'd need to take a look first. I should have some free hours next week. I could use some to see

chitezh avatar Dec 01 '17 20:12 chitezh

Where could i post this request ? Maybe someone could make and i will pay .

Killeros avatar Dec 13 '17 17:12 Killeros

@killeros please, send me an email on [email protected]. I should be able to get someone who can get this done if you’re willing to pay

chitezh avatar Dec 15 '17 03:12 chitezh

Hello @Killeros. Please refer the new documentation about Adding a new country to send a pull request with your country.

Thanks in advance for contribute extending the supported countries.

YordanSoares avatar Mar 31 '20 07:03 YordanSoares

I want this feature please to chain city with zip code to solve shipping issue with cities

thank You

melhendawy avatar Apr 17 '20 01:04 melhendawy

@YordanSoares do you have an idea of how this feature can be implemented? I see a few issues that appear to be duplicates of this one (#85 #82). Do we extend the places array to include postal codes? What about places that do not use postal codes, like Nigeria?

d-alleyne avatar Jun 20 '20 22:06 d-alleyne

I have the same request, it would be very useful to (chain | relate | link) a city to a ZIP code(s) and autofill (or dropdown list) after the city has been selected, it could be handle the shipping policies in a most effective way within the core to boost WC tools. Indeed I suppose it's a kind of adding one more level, i.e. so you have for El Salvador:

  1. Country Code [SV] El Salvador
  2. /states/SV.php - States [SV-SS] (14) El Salvador has 14 Departments (States) - SV-SS= San Salvador Department
  3. /places/SV.php - Places [SV-SS; San Salvador] San Salvador Department has 19 municipalities; -> Municipality of San Salvador (14 Departments sum total of 262 municipalities)
  4. /postcodes/SV.php - Postcodes [01101-San Salvador] (262) (Each city [municipality] has one ZIP code)

The above in case one city has one ZIP code is 1:1, but can be 1:4 or 1:5 (One city could have 4 or 5 ZIP codes, I don't know if some countries works like this). Note that if your country doesn't use ZIP codes at all you could use by your own or just deactivate this feature in the checkout. I already tried to do it but my programmer skill are very poor :_(

Anybody can help to us? Please

fafamonge avatar Jan 22 '21 04:01 fafamonge