[Skip to main content](#vessel-content)

#   Afficher description sous-catégories

##

- **[djiben](/forum/user/7756-djiben "View djiben's Profile")**
- [![djiben's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7756-djiben "View djiben's Profile") Topic Author
- [ Offline](/forum/user/7756-djiben)

Less More

- Posts: 261
- Thank you received: 4
-
-

10 years 3 months ago [\#247145](#247145) by [djiben](/forum/user/7756-djiben "View djiben's Profile")  *[Afficher description sous-catégories](/forum/5-support-en-francais-french-support-/885910-afficher-description-sous-categories#247145 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2  Bonjour,  Je souhaite afficher la description de mes sous-catégories sur mon menu configuré avec l'option &quot;grouper par catégorie&quot; svp ...  Merci d'avance")* was created by *[djiben](/forum/user/7756-djiben "View djiben's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2

Bonjour,

Je souhaite afficher la description de mes sous-catégories sur mon menu configuré avec l'option "grouper par catégorie" svp ...

####  Attachment not found

Merci d'avance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODg1OTEwLWFmZmljaGVyLWRlc2NyaXB0aW9uLXNvdXMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247157](#247157) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Afficher description sous-catégories](/forum/5-support-en-francais-french-support-/885910-afficher-description-sous-categories#247157 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2  Bonjour,  Je souhaite afficher la description de mes sous-catégories sur mon menu configuré avec l'option &quot;grouper par catégorie&quot; svp ...  Merci d'avance")*

Bonjour,

Cela doit se faire dans la vue "product / listing" qui va s'occuper de lister les produits pour les différents catégories.
Vous pouvez rajouter votre code juste après Code:

&lt;h2&gt;&lt;?php echo $category['category']-&gt;category_name; ?&gt;&lt;/h2&gt;

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODg1OTEwLWFmZmljaGVyLWRlc2NyaXB0aW9uLXNvdXMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[djiben](/forum/user/7756-djiben "View djiben's Profile")**
- [![djiben's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7756-djiben "View djiben's Profile") Topic Author
- [ Offline](/forum/user/7756-djiben)

Less More

- Posts: 261
- Thank you received: 4
-
-

10 years 3 months ago [\#247242](#247242) by [djiben](/forum/user/7756-djiben "View djiben's Profile")  Replied by *[djiben](/forum/user/7756-djiben "View djiben's Profile")* on topic *[Afficher description sous-catégories](/forum/5-support-en-francais-french-support-/885910-afficher-description-sous-categories#247242 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2  Bonjour,  Je souhaite afficher la description de mes sous-catégories sur mon menu configuré avec l'option &quot;grouper par catégorie&quot; svp ...  Merci d'avance")*

Bonjour Jérôme,

Tout d'abord merci, mais je trouve pas le code à insérer. J'ai essayé comme ça sans succès :
Code:

&lt;?php echo JHTML::_('content.prepare',$this-&gt;element-&gt;category_description); ?&gt;

Une idée peut-être ??

Merci d'avance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODg1OTEwLWFmZmljaGVyLWRlc2NyaXB0aW9uLXNvdXMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247244](#247244) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Afficher description sous-catégories](/forum/5-support-en-francais-french-support-/885910-afficher-description-sous-categories#247244 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2  Bonjour,  Je souhaite afficher la description de mes sous-catégories sur mon menu configuré avec l'option &quot;grouper par catégorie&quot; svp ...  Merci d'avance")*

Bonjour,

En suivant le code que je vous ai donné, vous pouvez en déduire comment accéder à la catégorie, et donc à la description de la catégorie.
Pour rappel : Code:

&lt;h2&gt;&lt;?php echo $category['category']-&gt;category_name; ?&gt;&lt;/h2&gt;

Ce qui nous donne donc : Code:

$category['category']-&gt;category_description

pour accéder à la description de la catégorie.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODg1OTEwLWFmZmljaGVyLWRlc2NyaXB0aW9uLXNvdXMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
