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

#   quantity.php ou est genere le table tbody

##

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

8 years 11 months ago [\#283399](#283399) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  *[quantity.php ou est genere le table tbody](/forum/5-support-en-francais-french-support-/892956-quantity-php-ou-est-genere-le-table-tbody#283399 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1  Bonjour  dans product quantity.php $this-&gt;cart-&gt;displayButton genere un table tbody rowspan=2 avec + et - oú est génèré ce code et comment le modifier pour ne pas avoir de table ? ou au moins que tout soit correctement nomme avec des class distinctes ?  merci")* was created by *[erickb](/forum/user/4069-erickb "View erickb's Profile")*

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.1

Bonjour

dans product quantity.php $this-&gt;cart-&gt;displayButton genere un table tbody rowspan=2 avec + et -
oú est génèré ce code et comment le modifier pour ne pas avoir de table ?
ou au moins que tout soit correctement nomme avec des class distinctes ?

merci

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

8 years 11 months ago [\#283407](#283407) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[quantity.php ou est genere le table tbody](/forum/5-support-en-francais-french-support-/892956-quantity-php-ou-est-genere-le-table-tbody#283407 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1  Bonjour  dans product quantity.php $this-&gt;cart-&gt;displayButton genere un table tbody rowspan=2 avec + et - oú est génèré ce code et comment le modifier pour ne pas avoir de table ? ou au moins que tout soit correctement nomme avec des class distinctes ?  merci")*

Bonjour,

displayButton est dans le fichier administrator/components/com_hikashop/helpers/cart.php
Cependant, displayButton n'est utilisé que si vous avez l'option "add to cart legacy" activée dans la configuration HikaShop et donc que vous utilisez l'ancien système d'ajout au panier.
Avec le nouveau système, tout est mieux fait.
Il y a aussi une option "quantity input method" dans la configuration HikaShop qui permet de choisir la façon dont les - + et le champs quantity sont agencés. La visualisation avec un table est l'ancienne méthode et il y a d'autres méthodes avec des divs.

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

8 years 11 months ago [\#283469](#283469) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[quantity.php ou est genere le table tbody](/forum/5-support-en-francais-french-support-/892956-quantity-php-ou-est-genere-le-table-tbody#283469 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1  Bonjour  dans product quantity.php $this-&gt;cart-&gt;displayButton genere un table tbody rowspan=2 avec + et - oú est génèré ce code et comment le modifier pour ne pas avoir de table ? ou au moins que tout soit correctement nomme avec des class distinctes ?  merci")*

merci

j'ai des overrides de la 2.6 sur la 3.2, je vais refaire le strict minimum

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

8 years 9 months ago [\#288221](#288221) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[quantity.php ou est genere le table tbody](/forum/5-support-en-francais-french-support-/892956-quantity-php-ou-est-genere-le-table-tbody#288221 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1  Bonjour  dans product quantity.php $this-&gt;cart-&gt;displayButton genere un table tbody rowspan=2 avec + et - oú est génèré ce code et comment le modifier pour ne pas avoir de table ? ou au moins que tout soit correctement nomme avec des class distinctes ?  merci")*

dans la table #__hikashop_config
il y a 4 champs avec dans la colonne config_namekey le terme legacy , toutes les valeurs sont a 1 , faut il tout mettre a 0 pour ne plus utiliser dans ces 4 options l'ancien systeme ?

merci

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

8 years 9 months ago [\#288224](#288224) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[quantity.php ou est genere le table tbody](/forum/5-support-en-francais-french-support-/892956-quantity-php-ou-est-genere-le-table-tbody#288224 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1  Bonjour  dans product quantity.php $this-&gt;cart-&gt;displayButton genere un table tbody rowspan=2 avec + et - oú est génèré ce code et comment le modifier pour ne pas avoir de table ? ou au moins que tout soit correctement nomme avec des class distinctes ?  merci")*

Bonjour,

Alors les valeurs sont à 1 si vous avez activé ces options dans l'onglet "avancé" de la configuration, ou si vous avez mis à jour depuis un HikaShop 2.x ou 1.x.
Si vous êtes sur une installation initialle de la 3.x alors ces options sont désactivées par défaut et leur valeur est 0 dans hikashop_config.

Faire cela permet de réduire les soucis de mise à jour avec des overrides CSS ou de vues faits pour la 2.x et qui pourraient ne pas fonctionner pour la 3.x.
Donc si les valeurs sont à 1 et vous ce n'est pas vous qui avez activé ces options, c'est que cela vient d'une mise à jour vers une 3.x. Donc en désactivant ces options, vous allez potentiellement avoir des soucis avec vos overrides, donc vérifiez bien cela après. Vous pourrez toujours revenir en arrière si besoin.

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

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

Less More

- Posts: 2705
- Thank you received: 74
-
-

8 years 9 months ago [\#288266](#288266) by [erickb](/forum/user/4069-erickb "View erickb's Profile")  Replied by *[erickb](/forum/user/4069-erickb "View erickb's Profile")* on topic *[quantity.php ou est genere le table tbody](/forum/5-support-en-francais-french-support-/892956-quantity-php-ou-est-genere-le-table-tbody#288266 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.8.2 -- PHP version -- : 7.1  Bonjour  dans product quantity.php $this-&gt;cart-&gt;displayButton genere un table tbody rowspan=2 avec + et - oú est génèré ce code et comment le modifier pour ne pas avoir de table ? ou au moins que tout soit correctement nomme avec des class distinctes ?  merci")*

merci !

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

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