Jump to content

Remove buttons from my account page


Recommended Posts

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. 

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...