Tuesday, April 30, 2013

How to get store configuration data from Magento System Configuration?

$configData = Mage::getStoreConfig(
                   'sectionName/groupName/fieldName',
                   Mage::app()->getStore()
               ); 

Wednesday, April 17, 2013

How to create custom page in my account magento page

In your module's config file include your custom layout files using layout updates.

    
 
            
                
                    preferredlocation.xml
                
            
        
   

In your custom layout file include the below script(preferredlocation.xml).
 
  
    
        Preferred Locationpreferredlocation/edit
    
  
    
      
         
          
              
    
 

Display my account navigation links in my account sidebar

In your custom layout file include the below script.
 
  
    
        Preferred Locationpreferredlocation/edit