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

#   Mise en page catégories différente sous-catégories

##

- **[oliv](/forum/user/7307-oliv "View oliv's Profile")**
- [![oliv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-04-23.png)](/forum/user/7307-oliv "View oliv's Profile") Topic Author
- [ Offline](/forum/user/7307-oliv)

Less More

- Posts: 257
- Thank you received: 7
-
-
-
- [](http://jardinpromo.com)
-

13 years 10 months ago -  13 years 4 months ago [\#80646](#80646) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  *[Mise en page catégories différente sous-catégories](/forum/2-general-talk-about-hikashop/76473-mise-en-page-categories-differente-sous-categories#80646 "Bonjour, J'aimerais que ma catégorie principale n'affiche pas le nom.  J'aimerais que mes sous-catégories affichent le nom.  Et je ne vois donc pas comment m'y prendre.  D'avance merci.")* was created by *[oliv](/forum/user/7307-oliv "View oliv's Profile")*

Bonjour,
J'aimerais que ma catégorie principale n'affiche pas le nom.

[ ![1&#95;2012-12-06.JPG](/forum/attachment/7402) ](/forum/attachment/7402 "1&#95;2012-12-06.JPG")

J'aimerais que mes sous-catégories affichent le nom.

[ ![2&#95;2012-12-06.JPG](/forum/attachment/7403) ](/forum/attachment/7403 "2&#95;2012-12-06.JPG")

Et je ne vois donc pas comment m'y prendre.

D'avance merci.

- [ ![1&#95;2012-12-06.JPG](/forum/attachment/7402) ](/forum/attachment/7402 "1&#95;2012-12-06.JPG") [ ](/forum/attachment/7402?download=1 "1&#95;2012-12-06.JPG")
- [ ![2&#95;2012-12-06.JPG](/forum/attachment/7403) ](/forum/attachment/7403 "2&#95;2012-12-06.JPG") [ ](/forum/attachment/7403?download=1 "2&#95;2012-12-06.JPG")

Last edit: 13 years 4 months ago by [oliv](/forum/user/7307-oliv "View oliv's Profile"). Reason: réglé

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDczLW1pc2UtZW4tcGFnZS1jYXRlZ29yaWVzLWRpZmZlcmVudGUtc291cy1jYXRlZ29yaWVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 10 months ago [\#80690](#80690) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Mise en page catégories différente sous-catégories](/forum/2-general-talk-about-hikashop/76473-mise-en-page-categories-differente-sous-categories#80690 "Bonjour, J'aimerais que ma catégorie principale n'affiche pas le nom.  J'aimerais que mes sous-catégories affichent le nom.  Et je ne vois donc pas comment m'y prendre.  D'avance merci.")*

Bonjour,

Il faut éditer la vue "category / listing_img_title" et ajouter une condition sur l'id de la catégorie parent.
En ajoutant par exemple: Code:

if($this-&gt;row-&gt;category_parent_id != '2')

Avant le code: Code:

echo $this-&gt;row-&gt;category_name;

En remplacant 2 par l'id de la catégorie parent aux catégories principales.

The following user(s) said Thank You: [oliv](/forum/user/7307-oliv "View oliv's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDczLW1pc2UtZW4tcGFnZS1jYXRlZ29yaWVzLWRpZmZlcmVudGUtc291cy1jYXRlZ29yaWVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[oliv](/forum/user/7307-oliv "View oliv's Profile")**
- [![oliv's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-04-23.png)](/forum/user/7307-oliv "View oliv's Profile") Topic Author
- [ Offline](/forum/user/7307-oliv)

Less More

- Posts: 257
- Thank you received: 7
-
-
-
- [](http://jardinpromo.com)
-

13 years 10 months ago [\#80691](#80691) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  Replied by *[oliv](/forum/user/7307-oliv "View oliv's Profile")* on topic *[Mise en page catégories différente sous-catégories](/forum/2-general-talk-about-hikashop/76473-mise-en-page-categories-differente-sous-categories#80691 "Bonjour, J'aimerais que ma catégorie principale n'affiche pas le nom.  J'aimerais que mes sous-catégories affichent le nom.  Et je ne vois donc pas comment m'y prendre.  D'avance merci.")*

Super merci, nickel.
Forum toujours irréprochable.
Composant de plus en plus appréciable.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2NDczLW1pc2UtZW4tcGFnZS1jYXRlZ29yaWVzLWRpZmZlcmVudGUtc291cy1jYXRlZ29yaWVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.077 seconds

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

[](#top)
