Jump to content

Fiche produit : Cadre prix en dessous des vignettes


Recommended Posts

Bonjour,

 

Je recherche une solution dans la fiche d'un produit pour positionner le cadre prix (actuellement sur la droite) en dessous de l'image principale du produit et de ses vignettes (à la place d'agrandir et imprimer).

 

Quelqu'un aurait-il une solution ?

 

Merci :)

Link to comment
Share on other sites

bonjour,

 

Dans le fichier product.tpl de ton thème déplace le code lié au prix (le code placé après <!-- prices -->) au dessous de l'image du produit... sous le code :

<!-- right infos-->
<div id="pb-right-column">
 <!-- product img-->
 <div id="image-block">
 {if $have_image}
  <img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}"
   {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic" width="{$largeSize.width}" height="{$largeSize.height}" />
 {else}
  <img src="{$img_prod_dir}{$lang_iso}-default-large.jpg" id="bigpic" alt="" title="{$cover.legend|escape:'htmlall':'UTF-8'}" width="{$largeSize.width}" height="{$largeSize.height}" />
 {/if}
 </div>

 

ensuite adapte les CSS...

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