11 minutes ago, NPO said:To remove the Credit Slips from the customer account edit:
/themes/.../templates/customer/page.tpl
comment out the block with
{if !configuration.is_catalog}......... the l s=credit slips .......
For the footer there is a page_footer block (but I don't have that one so can't see it)
Hi.
This is the untouched content of the /templates/customer/page.tpl :
There is nothing about credit slips...
Is your page.tpl different? ( If you are also on PS 8 )
In PS 1.7 I commented out as described in my first post. This worked.
After upgrading to PS 8 the hidden footer links are back...
{** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors <contact@prestashop.com> * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) *} {extends file='page.tpl'} {block name='notifications'}{/block} {block name='page_content_container'} <section id="content" class="page-content"> {block name='page_content_top'} {block name='customer_notifications'} {include file='_partials/notifications.tpl'} {/block} {/block} {block name='page_content'} <!-- Page content --> {/block} </section> {/block} {block name='page_footer'} {block name='my_account_links'} {include file='customer/_partials/my-account-links.tpl'} {/block} {/block}