Jump to content

ajouter hook dans product.tpl


Recommended Posts

Bonjour ,

 

j' aimerais rajouter dans mon fichier product.tpl la ligne 153 par le biais d'un module

ligne 149        <div class="pb-center-column col-xs-12 col-sm-4">
ligne 150            {if $product->online_only}
ligne 151                <p class="online_only">{l s='Online only'}</p>
ligne 152            {/if}
//ma ligne à ajouter
ligne 153            {hook h="DisplayMonHook" product=$product}

ceci est il possible ? si , oui comment puis-je faire.

 

j'ai commencé à regarder les overrides mais je ne suis pas sur que se soit la bonne methode à utiliser.

 

Merci, d'avance.

Edited by almeidaz (see edit history)
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...