amnesiak Posted September 24, 2011 Share Posted September 24, 2011 Hi, I can`t remove my credit slips from my account page (not my account block). I deleted the lines containing information about credit slips from themes\my-account.tpl and from blockmyaccount.tpl, but the credit slips and an icon still show on my account page. I also used force compile and cleaned the cache. Am I missing something. I know this question˛has been asked before but not for this version. Any help is highly appreciated. Link to comment Share on other sites More sharing options...
rocky Posted September 25, 2011 Share Posted September 25, 2011 Removing the following line from my-account.tpl and changing "Force compile" to "Yes" should have removed it from the "My Account" page: <li><a href="{$link->getPageLink('order-slip.php', true)}" title="{l s='Credit slips'}"><img src="{$img_dir}icon/slip.gif" alt="{l s='Credit slips'}" class="icon" /></a><a href="{$link->getPageLink('order-slip.php', true)}" title="{l s='Credit slips'}">{l s='My credit slips'}</a></li> I can't think of any reason why it wouldn't work. Maybe you are looking at the "My Account" block instead of the "My Account" page? To remove the credit slips from the "My Account" block, you need to override modules/blockmyaccount/blockmyaccount.tpl and remove the following line: <li><a href="{$link->getPageLink('order-slip.php', true)}" title="">{l s='My credit slips' mod='blockmyaccount'}</a></li> Link to comment Share on other sites More sharing options...
amnesiak Posted September 26, 2011 Author Share Posted September 26, 2011 Hi, rocky, thanks for your reply, stiil no luck Is it possible that a .tpl file from previous installation is the reason, because what I did is that I uploaded my-accout.tpland blockmyaccount.tpl from previous shop installation (same prestashop version)? Link to comment Share on other sites More sharing options...
amnesiak Posted September 26, 2011 Author Share Posted September 26, 2011 Ok, I managed to delete it. I did what you saiid and it worked fine. Thanks. 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