2

I want to install this module to change city field in checkout process from text to dropdown using composer base on https://magento.stackexchange.com/a/248984/81017.

I have tried to:

  1. composer require eadesgin/magento2-city-dropdown:* --no-update
  2. composer update

But unfortunately, composer return

package could not be found in any version


Any help will be appreciated.

Thank you in advance.

1 Answer 1

2

You are trying with the wrong package name.

https://github.com/EaDesgin/Magento2-City-Dropdown/blob/master/composer.json

Please try with this.

composer require eadesignro/romcity --no-update

This worked for me.

5
  • but its only work on Romania country right ! Commented Jun 14, 2019 at 11:04
  • i didn't check any country. i have just checked whether composer require is working fine/not. Commented Jun 14, 2019 at 11:28
  • Thank you @VenugopalChikkegowda it works perfectly! Commented Jun 14, 2019 at 11:54
  • @MuditaWijaya Please are you using the module eadesignro/romcity? Commented Nov 15, 2019 at 15:12
  • @MoeHammadi yes I did. Commented Nov 20, 2019 at 13:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.