Geppo76 Posted October 2, 2016 Share Posted October 2, 2016 Hi All, I would like to know how I can remove some of the buttons in the page "my account" you are redirected just after login MMany thanks in advance Ciao Pier Link to comment Share on other sites More sharing options...
Logical IT Posted October 2, 2016 Share Posted October 2, 2016 Hello, Before makings changes to any file or program always make a backup! You will need to modify the following file: /themes/<your theme>/my-account.tpl To hide the order slips button simply place html comment tags (<!-- -->) around the html markup. For eg. <!-- <li><a href="{$link->getPageLink('order-slip', true)|escape:'html':'UTF-8'}" title="{l s='Credit slips'}"><i class="icon-ban-circle"></i><span>{l s='My credit slips'}</span></a></li> --> or you can simply delete the line. By using comment tags you can easily re-introduce the code later if required. Always make a back up of the file before you edit. 1 Link to comment Share on other sites More sharing options...
Geppo76 Posted October 3, 2016 Author Share Posted October 3, 2016 Hi, many thanks for your answer, it solved my problem Ciao Pier Link to comment Share on other sites More sharing options...
rocky Posted October 4, 2016 Share Posted October 4, 2016 Just a note that it's better to use {* *} instead of <!-- --> so the code isn't added to the HTML. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now