I have a module which uses the customerformfactory to create a customer_address entity.

    $addressForm = $this->_customerFormFactory->create('customer_address', 'adminhtml_customer_address');

In this entity there are the allowed countries for the default store (austria, france, germany ...). However i want to allow all the countries that are enabled in all stores. The store for uk allows united kingdom, and the us store alows united states.

Is it possible to get all these countries in this module?

Your Answer

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

Browse other questions tagged or ask your own question.