Jump to content

Comment déplacer le module "produits associés" en dessous de la description ?


Recommended Posts

Bonjour,

 

Directement dans product.tpl de ton theme.

Tu dois déplacer le hook sur lequel il est attaché où si tu souhaites des modules ici plus tard, il te suffit de mettre un nouveau hook avec un nom perso et de modifier ton module pour qu'il puisse s'attacher dessus et de le greffer.

Link to comment
Share on other sites

Bonjour

 

Ce module apparait à 4 endroits différents :

 

- Administration panel header - 1 module (Nom technique :displayBackOfficeHeader)

 

 

- Header of pages - 1 module [A hook which allow you to do things in the header of each pages] (Nom technique :displayHeader)

 

- Product footer - 1 module [Add new blocks under the product description] (Nom technique :displayFooterProduct)

 

- Top of pages - 1 module [A hook which allow you to do things a the top of each pages.] (Nom technique :displayTop)

 

Fichier tpl :

 

<br>

<br>

<ul id="more_info_tabs" class="idTabs idTabsShort clearfix">

<li><a href="#" class="selected">{l s='Related Products' mod='rproducts'}</a></li>

</ul>

<!-- Block RProducts module-->

 

<div id="productsRproducts" >

 

{foreach from=$rProductsObj item=rProduct name=myLoop}

 

<div class="rproducts_item ajax_block_product">

<a class="product_image" href="{$link->getProductLink($rProduct->id_product, $rProduct->link_rewrite, $rProduct->category_rewrite)}" title="{$rProduct->name|truncate:27:'...'|escape:'htmlall':'UTF-8'}"

><img src="{$rProduct->cover}" height="0" width="0" alt="{$rProduct->name|truncate:27:'...'|escape:'htmlall':'UTF-8'}"

/></a><br>

<a class="productsRproducts_center" href="{$link->getProductLink($rProduct->id_product, $rProduct->link_rewrite, $rProduct->category_rewrite)}" title="{$rProduct->name|truncate:27:'...'|escape:'htmlall':'UTF-8'}"

>

{$rProduct->name|truncate:100:'...'|escape:'htmlall':'UTF-8'}

</a>

 

<center>

<div></div>

</center>

</div>

 

{/foreach}

 

</div>

<!-- END Block RProducts module-->

Link to comment
Share on other sites

  • 8 months later...

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...