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

#   Comment afficher le menu Compare page

##

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

Less More

- Posts: 276
- Thank you received: 17
-
-

14 years 11 months ago [\#33341](#33341) by [Teophile](/forum/user/5106-teophile "View Teophile's Profile")  *[Comment afficher le menu Compare page](/forum/5-support-en-francais-french-support-/33341-comment-afficher-le-menu-compare-page#33341 "Je n'arrive as à afficher le menu compare page  Voir les 2 images jointes  Merci d'avance  Teophile  &#91;file&#93;")* was created by *[Teophile](/forum/user/5106-teophile "View Teophile's Profile")*

Je n'arrive as à afficher le menu compare page

Voir les 2 images jointes

Merci d'avance

Teophile

####  *This attachment is hidden for guests.
Please log in or register to see it.*

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/Public___Formulaire_compare_page_.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/Public___Formulaire_compare_page_.png "&#91;img")

- [ ![Public&#95;&#95;&#95;Formulaire&#95;compare&#95;page&#95;.png](/forum/attachment/2266) ](/forum/attachment/2266 "...pare&#95;page&#95;.png") [ ](/forum/attachment/2266?download=1 "...pare&#95;page&#95;.png")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

14 years 11 months ago [\#33355](#33355) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Comment afficher le menu Compare page](/forum/5-support-en-francais-french-support-/33341-comment-afficher-le-menu-compare-page#33355 "Je n'arrive as à afficher le menu compare page  Voir les 2 images jointes  Merci d'avance  Teophile  &#91;file&#93;")*

En effet, il manque un morceau de code pour gérer les menus de type comparaison.

Il faut rajouter le code: Code:

if(empty($cids)){ if (is_object( $menu )) { jimport('joomla.html.parameter'); $category_params = new JParameter( $menu-&gt;params ); $cids=array(); for($i=1;$i&lt;8;$i++){ $id = $category_params-&gt;get('product_id_'.$i); if(!empty($id)){ $cids[] = $id; } } } }

avant le code Code:

if(empty($cids)){ return; }

dans le fichier components/com_hikashop/views/product/view.html.php et cela devrait fonctionner.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vMzMzNDEtY29tbWVudC1hZmZpY2hlci1sZS1tZW51LWNvbXBhcmUtcGFnZT90bXBsPW1hcmtkb3du) 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.055 seconds

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