Brecht Verhelst Posted August 22, 2017 Share Posted August 22, 2017 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 More sharing options...
prestahero.com Posted August 23, 2017 Share Posted August 23, 2017 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 More sharing options...
Brecht Verhelst Posted August 23, 2017 Author Share Posted August 23, 2017 Hi, Thank you for the quick respond! The problem is that I have no such file in the module section of my ftp. I can't find blockmyaccount in my ftp. kind regards brecht Verhelst Link to comment Share on other sites More sharing options...
Brecht Verhelst Posted August 23, 2017 Author Share Posted August 23, 2017 Ok I made it work to remove the credit slips button from the my account page but now I am still trying to find how to remove the credit slips button in the footer of the homepage? any ideas? Thank you! Link to comment Share on other sites More sharing options...
xtrmls1spd Posted January 13, 2019 Share Posted January 13, 2019 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 More sharing options...
Rostislav Posted April 18, 2019 Share Posted April 18, 2019 Hi! How to remove it in PS 1.7? In the ps_customeraccountlinks.tpl there are the {foreach} loop and no individual links. Link to comment Share on other sites More sharing options...
inspectaclueso Posted April 12, 2021 Share Posted April 12, 2021 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"></i> {l s='Credit slips' d='Shop.Theme.Customeraccount'} </span> </a> {/if} END OF COMMENT *} 3 Link to comment Share on other sites More sharing options...
kickhat Posted November 26, 2021 Share Posted November 26, 2021 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"></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 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