How to read module config data

/ Published in: PHP
Save to your folder(s)

Allows you to read any config in the magento database based in its path. The path is defined inside the system.xml file of the module. The table is core_config_data

Copy this code and paste it in your HTML
  1. echo Mage::getStoreConfig('config/path/in/core_config_data/table');

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.