Eglobe IT Solutions
open

Remove navigation links from My Account

  • Remove navigation links from My Account

    I wanted to remove some unwated links from My account navigation links. So i attempt the below method by creating a new magento module to accomplish it as follows. Prior to try this let me hope you have prerequisite knowledge in deriving a new customized magento module. Let's begin : Step 1 : Create a XML file in app/etc/modules/YourNameSpace_Customer.xml

    
    
        
            
                true
                local
            
        
    
    
    
    Step 2 : Create a php file in app\code\local\YourNameSpace\Customer\Block\Account\Navigation.php:
    _links[$name]);
        }
    }
     
    ?>
    
    
    Step 3 : Create a configuration XML file in app\code\local\YourNameSpace\Customer\etc\config.xml:
    
    
        
            
                
                    
                              
                                        YourNameSpace_Customer_Block_Account_Navigation
                              
                    
                
            
        
    
    
    
    Step 4 : And finally you can remove My Account links individually from your local.xml file as :
    
    
                 recurring_profiles
                 billing_agreements
                 tags
                 OAuth Customer Tokens
                 downloadable_products
    
    
    
    

  • Post Comments

    Submit Comment




    * Required Fields