mgregoire83 Posted April 28, 2009 Share Posted April 28, 2009 Bonjour à tous,Afin de pouvoir permettre au client de ne pas avoir à passer obligatoirement par la fiche détaillée du produit pour acheter, pourrait-on inclure l'affichage d'attributs dans l'affichage condensé (dans la catégorie) du produit ?Merci d'avance pour l'aide. Link to comment Share on other sites More sharing options...
jonathan Posted April 28, 2009 Share Posted April 28, 2009 Surement, affichage condensé comme dans le panier ?A mon avis tu regarde dans le panier le code. /modules/blockcart/blockcart.tplEt tu le copi dans la description. themes/prestashop/product-list.tpl Par contre tu devras peut être prendre du code php pour la description /product-list.phpJe suppose, j'ai jamais essayé Link to comment Share on other sites More sharing options...
mgregoire83 Posted April 28, 2009 Author Share Posted April 28, 2009 Pour une meilleure idée du résultat attendu, voir l'image jointe.Merci pour la piste déjà donnée. Link to comment Share on other sites More sharing options...
jonathan Posted April 28, 2009 Share Posted April 28, 2009 Bah tu as réussit non ? Je vais regarder sa, je reviens. Je te promet rien ! ^^ Link to comment Share on other sites More sharing options...
mgregoire83 Posted April 28, 2009 Author Share Posted April 28, 2009 Ouais j'ai super bien réussi... avec Photoshop !!! ;-) Link to comment Share on other sites More sharing options...
jonathan Posted April 28, 2009 Share Posted April 28, 2009 Le bout de code concerné : {if isset($groups)} {foreach from=$groups key=id_attribute_group item=group} {$group.name|escape:'htmlall':'UTF-8'} : {assign var='groupName' value='group_'|cat:$id_attribute_group} {foreach from=$group.attributes key=id_attribute item=group_attribute} {$group_attribute|escape:'htmlall':'UTF-8'} {/foreach} {/foreach} {/if} Après tu doit l'insérer dans product-list.tplMais le problème c'est que je sais pas ou sont les variables :'(Donc il rentre pas dans le if vu qu'il connait rien....Attend le passage d'un "pro" Désolé... Link to comment Share on other sites More sharing options...
Joël Gaujard Posted July 16, 2009 Share Posted July 16, 2009 Bonjour,Je peux te faire ca !Dis moi si mes compétences t'interessent... 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