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

#   passage en caisse et panier - incrémentation

##

- **[oliv](/forum/user/7307-oliv "View oliv's Profile")**
- [![oliv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/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 7 months ago [\#100821](#100821) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  *[passage en caisse et panier - incrémentation](/forum/2-general-talk-about-hikashop/80921-passage-en-caisse-et-panier-incrementation#100821 "Bonjour, J'aimerais que l'incrémentation se fasse de la même façon dans le panier et le passage en caisse que sur la vue produit. Merci.")* was created by *[oliv](/forum/user/7307-oliv "View oliv's Profile")*

Bonjour,
J'aimerais que l'incrémentation se fasse de la même façon dans le panier et le passage en caisse que sur la vue produit.
Merci.

[ ![7.JPG](/forum/attachment/9823) ](/forum/attachment/9823 "7.JPG")

- [ ![7.JPG](/forum/attachment/9823) ](/forum/attachment/9823 "7.JPG") [ ](/forum/attachment/9823?download=1 "7.JPG")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 7 months ago [\#100850](#100850) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[passage en caisse et panier - incrémentation](/forum/2-general-talk-about-hikashop/80921-passage-en-caisse-et-panier-incrementation#100850 "Bonjour, J'aimerais que l'incrémentation se fasse de la même façon dans le panier et le passage en caisse que sur la vue produit. Merci.")*

Bonjour,

Pour cela, il vous faudra directement modifier le code de fichier du module de panier et du fichier "cart" de la vue "Checkout" de votre template de front-end ("*Hikashop-&gt;Affichage-&gt;Vues*").

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

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

- **[oliv](/forum/user/7307-oliv "View oliv's Profile")**
- [![oliv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/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 7 months ago [\#100858](#100858) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  Replied by *[oliv](/forum/user/7307-oliv "View oliv's Profile")* on topic *[passage en caisse et panier - incrémentation](/forum/2-general-talk-about-hikashop/80921-passage-en-caisse-et-panier-incrementation#100858 "Bonjour, J'aimerais que l'incrémentation se fasse de la même façon dans le panier et le passage en caisse que sur la vue produit. Merci.")*

Merci,
Pouvez-vous me dire quel code mets-je à la place duquel?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgwOTIxLXBhc3NhZ2UtZW4tY2Fpc3NlLWV0LXBhbmllci1pbmNyZW1lbnRhdGlvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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 7 months ago [\#100947](#100947) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[passage en caisse et panier - incrémentation](/forum/2-general-talk-about-hikashop/80921-passage-en-caisse-et-panier-incrementation#100947 "Bonjour, J'aimerais que l'incrémentation se fasse de la même façon dans le panier et le passage en caisse que sur la vue produit. Merci.")*

Bonjour,

Il faut ajouter du code à l'existant, ajoutez le "+" et le "-" puis ajouter l'action onclick sur chacun d'entre eux pour incrémenter ou décrémenter la quantité, puis valider le rafraichissement comme c'est déjà le cas.

Cela nécessite des connaissances javascript.

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

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

- **[oliv](/forum/user/7307-oliv "View oliv's Profile")**
- [![oliv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/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 7 months ago [\#100964](#100964) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  Replied by *[oliv](/forum/user/7307-oliv "View oliv's Profile")* on topic *[passage en caisse et panier - incrémentation](/forum/2-general-talk-about-hikashop/80921-passage-en-caisse-et-panier-incrementation#100964 "Bonjour, J'aimerais que l'incrémentation se fasse de la même façon dans le panier et le passage en caisse que sur la vue produit. Merci.")*

Bonjour,
Comme ce code semble être présent dans la vue product/show, je pense le copier et le coller dans la vue category/listing.
Pourriez-vous m'indiquer si c'est la bonne méthode et quel bout de code copier et où le coller (c'est à dire à la place de quel bout de code)?
Merci.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 7 months ago [\#100994](#100994) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[passage en caisse et panier - incrémentation](/forum/2-general-talk-about-hikashop/80921-passage-en-caisse-et-panier-incrementation#100994 "Bonjour, J'aimerais que l'incrémentation se fasse de la même façon dans le panier et le passage en caisse que sur la vue produit. Merci.")*

Bonjour,
La meilleur solution serai de créer votre code en vous inspirant de code déjà présent comme : Code:

&lt;div class="hikashop_cart_product_quantity_refresh"&gt; &lt;a href="#" onclick="var qty_field = document.getElementById('hikashop_checkout_quantity_&lt;?php echo $row-&gt;cart_product_id;?&gt;'); if (qty_field &amp;&amp; qty_field.value != '&lt;?php echo $row-&gt;cart_product_quantity; ?&gt;'){&lt;?php echo $input; ?&gt; qty_field.form.submit(); } return false;" title="&lt;?php echo JText::_('HIKA_REFRESH'); ?&gt;"&gt; &lt;img src="&lt;?php echo HIKASHOP_IMAGES . 'refresh.png';?&gt;" border="0" alt="&lt;?php echo JText::_('HIKA_REFRESH'); ?&gt;" /&gt; &lt;/a&gt; &lt;/div&gt;

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

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

- **[oliv](/forum/user/7307-oliv "View oliv's Profile")**
- [![oliv's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/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 7 months ago [\#101145](#101145) by [oliv](/forum/user/7307-oliv "View oliv's Profile")  Replied by *[oliv](/forum/user/7307-oliv "View oliv's Profile")* on topic *[passage en caisse et panier - incrémentation](/forum/2-general-talk-about-hikashop/80921-passage-en-caisse-et-panier-incrementation#101145 "Bonjour, J'aimerais que l'incrémentation se fasse de la même façon dans le panier et le passage en caisse que sur la vue produit. Merci.")*

Merci.

J'ai trouvé la solution [ ici.](http://www.hikashop.com/forum/5-support-en-francais-french-support-/30528-je-loupe-peut-etre-un-reglage-mais-la-je-bloc.html?lang=en)

Avant :

[ ![abbdcihi.png](/forum/attachment/9855) ](/forum/attachment/9855 "abbdcihi.png")

Après :

[ ![cejfighi.png](/forum/attachment/9856) ](/forum/attachment/9856 "cejfighi.png")

Si quelqu'un a besoin de toute ma démarche, je suis dispo.

- [ ![abbdcihi.png](/forum/attachment/9855) ](/forum/attachment/9855 "abbdcihi.png") [ ](/forum/attachment/9855?download=1 "abbdcihi.png")
- [ ![cejfighi.png](/forum/attachment/9856) ](/forum/attachment/9856 "cejfighi.png") [ ](/forum/attachment/9856?download=1 "cejfighi.png")

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

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