I need to add city as dropdown, how can i do it?
also need to add shipment calculation (state and city as dropdown and after select show price) in product page.
Please help me
Thank you in advance
Most this be an extension, can't we have a guide like this of state.. >> https://www.nairaland.com/3868437/creating-custom-shipping-nigeria-magento
Have you tried this Magento 2 extension?
This extension allows the store admin to manage(add, edit, delete, bulk import) regions/states & cities, converts text-input city field to the select dropdown in checkout address (shipping & billing) & customer address pages for both storefront and backend.
Complete your task by using this extension https://www.giaphugroup.com/magento-2-city-dropdown-extension.html it is compatible with Magento CE 2.1.x, 2.2.x, 2.3.x, 2.4.x