alexislevrai Posted February 24, 2011 Share Posted February 24, 2011 Bonjour a tous, voilà j'aimerai que en en-tête de mas page répertoriant les produits d'un même Fabriquant (par exemple la page "Apple" dans la démo Prestashop) il puisse y avoir une image propre a chaque fabriquant ainsi qu'une courte bio.Le meilleur exemple est celui du site de Sixpack qui est sous prestashop et a exactement ce que je souhaiterai: http://www.sixpack.fr/shop/114_Tom of FinlandComment es ce réalisable ?Merci d'avance pour vos conseils. Link to comment Share on other sites More sharing options...
DevNet Posted February 24, 2011 Share Posted February 24, 2011 Bonsoir,Si cela peut vous aider, vous pouvez mettre le contenu détaillé de chaque fabricant dans leur champ respectif "Description" (pas celui de "Description courte" qui est utilisé pour la liste des fabricants).Ensuite éditer le fichier /themes/[votre_thème]/manufacturer.tpl, modifiez comme ceci : {include file=$tpl_dir./breadcrumb.tpl} {$manufacturer->name} {$manufacturer->description} Vous avez accès aux éléments suivant pour l'objet Manufacturer : $manufacturer->id = 1 $manufacturer->id_manufacturer $manufacturer->name $manufacturer->description $manufacturer->short_description $manufacturer->id_address $manufacturer->date_add $manufacturer->date_upd $manufacturer->link_rewrite $manufacturer->meta_title $manufacturer->meta_keywords $manufacturer->meta_description Bien cordialement Link to comment Share on other sites More sharing options...
alexislevrai Posted February 24, 2011 Author Share Posted February 24, 2011 Ah ouais ça me parait cohérent ça. Je vais essayer.Merci beaucoup. Link to comment Share on other sites More sharing options...
mehdi2405 Posted April 21, 2011 Share Posted April 21, 2011 bonsoir il semblerait que la fonction short_description ne marche pas quelqu'un aurait t il un élément de réponsemerci Link to comment Share on other sites More sharing options...
alexislevrai Posted April 21, 2011 Author Share Posted April 21, 2011 Sous presta 1.4.0.17 j'ai ceci dans mon manufacturer.tpl : Et cela fonctionne très bien ... :s {$manufacturer->name|escape:'htmlall':'UTF-8'} {if $manufacturer->description} {$manufacturer->description} {/if} {if $manufacturer->short_description} {l s='Discover the universe of'} {$manufacturer->short_description} {/if} Link to comment Share on other sites More sharing options...
mehdi2405 Posted April 21, 2011 Share Posted April 21, 2011 desolé mais j'essaie pour le fichier manufacturer-list.tpl et j'aimerais afficher que la descrition courtepouvez vous m'aider ? Link to comment Share on other sites More sharing options...
richard03 Posted August 27, 2011 Share Posted August 27, 2011 Bonjour, j'ai cherche à faire la même chose mais sans succès. j'ai essayé les manip cité pour manufacturer-list.tpl et product.tpl et la short_description ne s'affiche pas. si quelqu'un a une idée Merci 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