In Magento, it's easy to insert a source model for dropdown atrributes in the table eav_attribute. For example, I wanted to create a custom field call Nationality in Sellvana's customer module, the dropdown options are all the countries in the world. Is there a way to code for this?

1 Answer


Good idea, will implement as part of custom fields refactoring.

Btw source_callback is already implemented for product indexer (faceted nav)