Jump to content

Remove credit slips


Recommended Posts

Hi everyone, 

 

I want to remove the 'credit slips' in the footer of my homepage and also in the customers account. I looked everywhere on the internet for a solution but I could only find that you have remove something from the myaccountblock.tpl. the problem is that I can't find this anywhere in my ftp? 

 

I really don't know what to do! 

 

Thank you! 

 

kind regards

Brecht 

Link to comment
Share on other sites

Hi everyone, 

 

I want to remove the 'credit slips' in the footer of my homepage and also in the customers account. I looked everywhere on the internet for a solution but I could only find that you have remove something from the myaccountblock.tpl. the problem is that I can't find this anywhere in my ftp? 

 

I really don't know what to do! 

 

Thank you! 

 

kind regards

Brecht 

 

the blockmyaccount.tpl is root_directory/modules/blockmyaccount/blockmyaccount.tpl

after you make the changes, make sure you clear Prestashop cache completely, if you sitll don't see the changes, try to find the file in theme folder it's in themes/your_theme/modules/blockmyaccount/blockmyaccount.tpl

 

Hope this help

Link to comment
Share on other sites

  • 1 year later...
On 8/23/2017 at 3:30 AM, ets-soft said:

 

the blockmyaccount.tpl is root_directory/modules/blockmyaccount/blockmyaccount.tpl

after you make the changes, make sure you clear Prestashop cache completely, if you sitll don't see the changes, try to find the file in theme folder it's in themes/your_theme/modules/blockmyaccount/blockmyaccount.tpl

 

Hope this help

Also needing to remove from the account page and also the footer.

What is it exactly that should be removed from the above file?

How do I remove from the footer?

Link to comment
Share on other sites

  • 3 months later...
  • 1 year later...
On 4/19/2019 at 4:41 AM, Rostislav said:

Hi!

How to remove it in PS 1.7?

In the ps_customeraccountlinks.tpl there are the {foreach} loop and no individual links.

You need to edit the my-account.tpl file.

themes > classic > templates > customer > my-account.tpl

Find the code relating to credit slips.  I commented it out as below...

 

{*COMMENT OUT CREDIT SLIP FROM ACCOUNT AREA
      {if !$configuration.is_catalog}
        <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="order-slips-link" href="{$urls.pages.order_slip}">
          <span class="link-item">
            <i class="material-icons">&#xE8B0;</i>
            {l s='Credit slips' d='Shop.Theme.Customeraccount'}
          </span>
        </a>
      {/if}
END OF COMMENT *}

  • Thanks 3
Link to comment
Share on other sites

  • 7 months later...
On 4/12/2021 at 11:15 AM, inspectaclueso said:

You need to edit the my-account.tpl file.

themes > classic > templates > customer > my-account.tpl

Find the code relating to credit slips.  I commented it out as below...

 

{*COMMENT OUT CREDIT SLIP FROM ACCOUNT AREA
      {if !$configuration.is_catalog}
        <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="order-slips-link" href="{$urls.pages.order_slip}">
          <span class="link-item">
            <i class="material-icons">&#xE8B0;</i>
            {l s='Credit slips' d='Shop.Theme.Customeraccount'}
          </span>
        </a>
      {/if}
END OF COMMENT *}

This working for me. Prestashop 1.7.8.1
Thank you, very much! 😌

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...