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.

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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