I wrote a custom module to do the API cron job. However I included all the API path and access token inside the cron job. I would like to have in admin page for user to store their API path credentials in admin page. Is there any tutorials that I can follow steps to do that? I did google for the solution, however I couldn't find any good example. Please help


Yes Its simple create a configuration for your module. etc/adminhtml/system.xml create your configuration whatever you need add the input elements. For retrieving you need to create a helper class. Everything is in the following link.


Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.