How to validate admin config options for Magento module -


i trying create magento module. module has 2 config options in admin menu .i.e, "enabled" , "api_key". want check , throw , error "api_key" option if "enabled" options set 1. using backend module unable "enabled" option passed server when updating. getstoreconig returns value in database not current one. regards, vijay

you need create observer on event admin_system_config_changed_section_{yoursection}, stated answer:

https://magento.stackexchange.com/a/3014 (credit fabian blechschmidt)


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -