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

#   Supprimer les quantités dans la page comparaison

##

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

Less More

- Posts: 502
- Thank you received: 12
-
-

10 years 9 months ago [\#228756](#228756) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  *[Supprimer les quantités dans la page comparaison](/forum/5-support-en-francais-french-support-/882055-supprimer-les-quantites-dans-la-page-comparaison#228756 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.5 -- PHP version -- : 6  Bonjour,  Dans la page de comparaison, on a tous les articles en colonne, avec le bouton ajouter au panier et aussi le nombre quantité à ajouter au panier....  Pourrions nous enlever à cet endroit le choix de la quantité et aussi, le bouton ajouter au panier ?  Merci de votre aide")* was created by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.5
-- PHP version -- : 6

Bonjour,

Dans la page de comparaison, on a tous les articles en colonne, avec le bouton ajouter au panier et aussi le nombre quantité à ajouter au panier....

Pourrions nous enlever à cet endroit le choix de la quantité et aussi, le bouton ajouter au panier ?

Merci de votre aide

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODgyMDU1LXN1cHByaW1lci1sZXMtcXVhbnRpdGVzLWRhbnMtbGEtcGFnZS1jb21wYXJhaXNvbj90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

10 years 9 months ago [\#228762](#228762) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Supprimer les quantités dans la page comparaison](/forum/5-support-en-francais-french-support-/882055-supprimer-les-quantites-dans-la-page-comparaison#228762 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.5 -- PHP version -- : 6  Bonjour,  Dans la page de comparaison, on a tous les articles en colonne, avec le bouton ajouter au panier et aussi le nombre quantité à ajouter au panier....  Pourrions nous enlever à cet endroit le choix de la quantité et aussi, le bouton ajouter au panier ?  Merci de votre aide")*

Bonjour,

C'est possible avec un peu de CSS:
\#hikashop_compare_tr_cart{display:none;}

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

10 years 9 months ago [\#228862](#228862) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Supprimer les quantités dans la page comparaison](/forum/5-support-en-francais-french-support-/882055-supprimer-les-quantites-dans-la-page-comparaison#228862 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.5 -- PHP version -- : 6  Bonjour,  Dans la page de comparaison, on a tous les articles en colonne, avec le bouton ajouter au panier et aussi le nombre quantité à ajouter au panier....  Pourrions nous enlever à cet endroit le choix de la quantité et aussi, le bouton ajouter au panier ?  Merci de votre aide")*

Bonjour Nicolas,

Super MERCI !!!
C'est parfait !

Encore une petite chose, j'aimerais que l'image du produit qui est dans le tableau de comparaison m'envoie vers la fiche produit, c'est faisable ?

Merci encore !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODgyMDU1LXN1cHByaW1lci1sZXMtcXVhbnRpdGVzLWRhbnMtbGEtcGFnZS1jb21wYXJhaXNvbj90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

10 years 9 months ago [\#228866](#228866) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Supprimer les quantités dans la page comparaison](/forum/5-support-en-francais-french-support-/882055-supprimer-les-quantites-dans-la-page-comparaison#228866 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.5 -- PHP version -- : 6  Bonjour,  Dans la page de comparaison, on a tous les articles en colonne, avec le bouton ajouter au panier et aussi le nombre quantité à ajouter au panier....  Pourrions nous enlever à cet endroit le choix de la quantité et aussi, le bouton ajouter au panier ?  Merci de votre aide")*

Bonjour,

Si les produits ont des URLs canoniques (ce qui devrait être le cas pour le SEO), c'est facile à faire. Il suffit de changer la ligne: Code:

echo '&lt;img class="hikashop_product_compare_image" title="'.$this-&gt;escape(@$image-&gt;file_description).'" alt="'.$this-&gt;escape(@$image-&gt;file_name).'" src="'.$img-&gt;url.'"/&gt;';

en: Code:

echo '&lt;a href="'.$element-&gt;product_canonical.'"&gt;&lt;img class="hikashop_product_compare_image" title="'.$this-&gt;escape(@$image-&gt;file_description).'" alt="'.$this-&gt;escape(@$image-&gt;file_name).'" src="'.$img-&gt;url.'"/&gt;&lt;/a&gt;';

dans le fichier "compare" de la vue "product".

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

10 years 9 months ago [\#228978](#228978) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Supprimer les quantités dans la page comparaison](/forum/5-support-en-francais-french-support-/882055-supprimer-les-quantites-dans-la-page-comparaison#228978 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.5 -- PHP version -- : 6  Bonjour,  Dans la page de comparaison, on a tous les articles en colonne, avec le bouton ajouter au panier et aussi le nombre quantité à ajouter au panier....  Pourrions nous enlever à cet endroit le choix de la quantité et aussi, le bouton ajouter au panier ?  Merci de votre aide")*

Merci Nicolas !!!!!

C'est parfait ! ![:cheer:](/media/kunena/emoticons/2.png ":cheer:")

Comme d'habitude ![;)](/media/kunena/emoticons/24.png ";)")

Bonne journée

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

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

Less More

- Posts: 502
- Thank you received: 12
-
-

9 years 10 months ago [\#260146](#260146) by [fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")  Replied by *[fafamaster](/forum/user/68-fafamaster "View fafamaster's Profile")* on topic *[Supprimer les quantités dans la page comparaison](/forum/5-support-en-francais-french-support-/882055-supprimer-les-quantites-dans-la-page-comparaison#260146 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.5 -- PHP version -- : 6  Bonjour,  Dans la page de comparaison, on a tous les articles en colonne, avec le bouton ajouter au panier et aussi le nombre quantité à ajouter au panier....  Pourrions nous enlever à cet endroit le choix de la quantité et aussi, le bouton ajouter au panier ?  Merci de votre aide")*

Bonjour,

Encore une demande au même endroit :
Dans la page de comparaison, on a tous les articles en colonne ...
Pourrions nous enlever à cet endroit le prix ?

Merci de votre aide

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

9 years 10 months ago [\#260171](#260171) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Supprimer les quantités dans la page comparaison](/forum/5-support-en-francais-french-support-/882055-supprimer-les-quantites-dans-la-page-comparaison#260171 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.5 -- PHP version -- : 6  Bonjour,  Dans la page de comparaison, on a tous les articles en colonne, avec le bouton ajouter au panier et aussi le nombre quantité à ajouter au panier....  Pourrions nous enlever à cet endroit le choix de la quantité et aussi, le bouton ajouter au panier ?  Merci de votre aide")*

Bonjour,

Oui vous pouvez faire une override de la vue et enlever le code qui affiche le prix.
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Cordialement,

---

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

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

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