How do I get the Area/City Name from Region ID for add address programmatically in Magento 2?
-
14-04-2021 - |
Frage
I got the state list from country code by following this blog for my Magento 2 store. I want to get the Area/City name from the state/region id, is there a way or method to get it in Magento 2.3.x?
Lösung
Magento 2 get does not have any concept like Get the Area/City name from the state/region id`. In Magento 2 system, there is only one type of relationship that **State changes using country.
So, you can NOT get City from Region Id/State id.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange