Question

https://github.com/EaDesgin/Magento2-City-Dropdown/

Hi, I am using this extension EaDesgin/Magento2-City-Dropdown and when I upload the city file and import cities than the values get inserted but the region id column shows blank. The region id values are not getting inserted. Anyone have faced the same issue with this extension?

PS - I am asking this question here because I have seen there are already some questions about this extension.

Was it helpful?

Solution

ok the issue with this extension is that when you put entity_id as blank then magento will insert the values else magento will use update query. Thanks to this answer for explaining this functionality Model save using setData and addData not adding to database

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top