Papillon Posted April 9, 2019 Share Posted April 9, 2019 (edited) Bonjour à tous, Est ce que quelqu'un pourrait me donner la solution pour supprimer l'affichage des blocks "historique et détails de mes commandes" et "Avoirs" sur la page mon compte sous prestashop 1.7.5.1? Merci d'avance pour votre aide. Edited April 9, 2019 by Papillon (see edit history) Link to comment Share on other sites More sharing options...
Stéphane Posted April 9, 2019 Share Posted April 9, 2019 Salut, tu peux cacher ces deux blocs en éditant le fichier my-account.tpl accessible depuis le dossier de ton thème>templates>customer>my-account.tpl en ajoutant {* au début et *} à la fin comme ci-dessous. {* Cache le bloc avoir et historique des commandes {if !$configuration.is_catalog} <a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="history-link" href="{$urls.pages.history}"> <span class="link-item"> <i class="material-icons"></i> {l s='Order history and details' d='Shop.Theme.Customeraccount'} </span> </a> {/if} {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} *} 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