1

I have my custom module with magento 1.7 which has configuration page in checkout tab in admin panel. I have different fields like text,textarea,select on form. I want to get these values when I click on 'Save Config' button. Although I Have helpers and models of my module. But I'm not getting understand how/what to make a new helper/model file and what function will be to get these field values after clicking on 'Save Config' button. I have system.xml file of my module.

Thanks a lot

David Manners
27.3k9 gold badges78 silver badges220 bronze badges
asked Nov 10, 2014 at 13:20

1 Answer 1

2

Mage::getStoreConfig('section/group/field');

answered Nov 10, 2014 at 17:10
2
  • Thanks for your reply, would you please elaborate a little bit where to use this function. Actually I want send form values to a third party using curl when the user clicks on 'Save Config' button on the configuration page. Thanks Commented Nov 12, 2014 at 6:57
  • The code in the answer will retrieve the value from storage according to the path specified. Assign that to a variable and then use the variable in your cURL message. Commented Nov 19, 2014 at 18:57

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.