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
1 Answer 1
Mage::getStoreConfig('section/group/field');
-
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. ThanksCrinch– Crinch2014年11月12日 06:57:30 +00:00Commented 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.benmarks– benmarks2014年11月19日 18:57:38 +00:00Commented Nov 19, 2014 at 18:57