How to remove links from top.liknks when loggin in / out in Magento 1.6.2

后端 未结 2 1510
夕颜
夕颜 2021-01-06 23:59

I\'ve had a good search around and found the customer_logged_in and customer_logged_out tags but I can\'t get them to work properly, this I\'m sure

2条回答
  •  粉色の甜心
    2021-01-07 00:38

    Ok I found the reason, first off they are top level tags and shouldn't be put in the default tag and secondly it just wasn't working in the local.xml so I placed the code at the top of the customer.xml and it works a treat. Note: I removed the xml which added links to the top.links as well as this seems to interfere with it.

    Working xml:

    
    
        
            
                My Cart9
                My Account10
                Log Out100
            
        
    
    
        
            
                Register 100
                Log In100
                
                         
                
            
        
    

提交回复
热议问题