kriboy Posted January 21, 2009 Share Posted January 21, 2009 J'ai une catégorie mère dans laquelle se trouve d'autre sous catégories.Lorsque je clique sur la catégorie principale, on constate qu'il me met 0 Produit alors que dans mes sous catégories, il y a des produits.---Catégorie A 0 produit ------- catégorie A1 x produits ------- catégorie A2 x produits.Cela me semble illogique puisque plutôt que d'indiquer 0, il devrait indiquer le total de ces sous catégories.Comment puis je remédier a cela ? y a t'il possibilité de changer le mode de calcul ? Link to comment Share on other sites More sharing options...
jolvil Posted January 21, 2009 Share Posted January 21, 2009 Personellement j'ai enlevé l'affichage du nombre de produits (dans le tpl) à cause de ce probleme Link to comment Share on other sites More sharing options...
kriboy Posted January 21, 2009 Author Share Posted January 21, 2009 C'est la solution que j'envisageais. Apparament j'y suis arrivé, je commence a toucher moi Link to comment Share on other sites More sharing options...
zeeben Posted February 6, 2009 Share Posted February 6, 2009 Bonjour,Pouvez-vous m'indiquer quel fichier tpl est à modifier ?Merci Link to comment Share on other sites More sharing options...
jolvil Posted February 6, 2009 Share Posted February 6, 2009 ZeenenUne petite recherche sur le forum et on retrouve l'info, essayez la prochaine fois.http://www.prestashop.com/forums/viewthread/5019/installation_configuration___upgrade/resolu_nom_de_la_categorie__x_produits Link to comment Share on other sites More sharing options...
fatididy Posted October 11, 2011 Share Posted October 11, 2011 bonjour , j'ai pas le méme code voici le mien {if $category->id AND $category->active} {strip} {$category->name|escape:'htmlall':'UTF-8'} {if $nb_products != 0} {if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} {$nb_products} {if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if} {/if} {/strip} {if $scenes} que doit je faire ??????? ?? 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