pokertotof Posted June 5, 2011 Share Posted June 5, 2011 Bonjour, je souhaite purement et simplement enlever la cadre "aucune image disponible" à côté de mes produits, car ceux-ci ne nécessitent pas de photos associées.J'y arrive pour le cadre associé aux catégories, mais pas pour celui associé aux produitsMerci d'avance Link to comment Share on other sites More sharing options...
jeckyl Posted June 5, 2011 Share Posted June 5, 2011 Bonjour,Version de Prestashop ?template d'origine ? Link to comment Share on other sites More sharing options...
pokertotof Posted June 5, 2011 Author Share Posted June 5, 2011 version 1.4Je ne sais pas ce que c'est qu'un template Link to comment Share on other sites More sharing options...
pokertotof Posted June 5, 2011 Author Share Posted June 5, 2011 je ne sais pas ce que c'est qu'un template mais il doit etre d'origine parce que j'ai pas changé grand chose Link to comment Share on other sites More sharing options...
jeckyl Posted June 5, 2011 Share Posted June 5, 2011 Template = designse sont tous les fichier .tpl dans le répertoire theme. Link to comment Share on other sites More sharing options...
pokertotof Posted June 5, 2011 Author Share Posted June 5, 2011 ok, c'est le theme de prestashop, version noire, j'ai modifié le fichier "product.tpl", pour supprimer le bouton "imprimer", sinon aucune autre modification sur ce fichier.prestashop 1.4Merci encore Link to comment Share on other sites More sharing options...
jeckyl Posted June 5, 2011 Share Posted June 5, 2011 Version noire ????c'est quoi ça, Prestashop n'a qu'un seul template de base il se nomme prestashop dans le répertoire theme. Link to comment Share on other sites More sharing options...
pokertotof Posted June 5, 2011 Author Share Posted June 5, 2011 récupéré ici: http://www.inforquin.fr/cms/solutions/web/prestashop-themes-gratuits-14.html Link to comment Share on other sites More sharing options...
jeckyl Posted June 5, 2011 Share Posted June 5, 2011 Ok,donc il vous suffit de retirer ce code du fichier product.tpl, ligne 146 - > 177 : <!-- product img--> {if $have_image} 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} name|escape:'htmlall':'UTF-8'}" width="{$largeSize.width}" height="{$largeSize.height}" /> {/if} {if isset($images) && count($images) > 0} <!-- thumbnails --> {if isset($images) && count($images) > 3}{l s='Previous'}{/if} {if isset($images)} {foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"} getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}"> getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" /> {/foreach} {/if} {if isset($images) && count($images) > 3}{l s='Next'}{/if} {/if} {if isset($images) && count($images) > 1} getProductLink($product)}" onclick="$('span#wrapResetImages').hide('slow');return (false);">{l s='Display all pictures'}{/if} Link to comment Share on other sites More sharing options...
pokertotof Posted June 5, 2011 Author Share Posted June 5, 2011 ok merci super ça marche 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