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

#   Poids total de la commande dans le panier?

##

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

Less More

- Posts: 23
- Thank you received: 0
-
-

12 years 9 months ago [\#139560](#139560) by [jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")  *[Poids total de la commande dans le panier?](/forum/5-support-en-francais-french-support-/864955-poids-total-de-la-commande-dans-le-panier#139560 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour ou bonsoir.  J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver :-(  Le but est de pouvoir avoir des mode de livraison example:  de 0 à 2kg 9.-chf de 2 à 5kg 11.-chf  Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...  Merci d'avance  Jérôme")* was created by *[jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Bonjour ou bonsoir.

J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver ![:-(](/media/kunena/emoticons/4.png ":-(")

Le but est de pouvoir avoir des mode de livraison example:

de 0 à 2kg 9.-chf
de 2 à 5kg 11.-chf

Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...

Merci d'avance

Jérôme

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY0OTU1LXBvaWRzLXRvdGFsLWRlLWxhLWNvbW1hbmRlLWRhbnMtbGUtcGFuaWVyP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 9 months ago [\#139566](#139566) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Poids total de la commande dans le panier?](/forum/5-support-en-francais-french-support-/864955-poids-total-de-la-commande-dans-le-panier#139566 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour ou bonsoir.  J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver :-(  Le but est de pouvoir avoir des mode de livraison example:  de 0 à 2kg 9.-chf de 2 à 5kg 11.-chf  Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...  Merci d'avance  Jérôme")*

Bonjour,

C'est faisable avec ce code: Code:

&lt;?php $cartClass = hikashop_get('class.cart'); $cart = $cartClass-&gt;loadFullCart(true); echo $cart-&gt;weight; ?&gt;

Vous pouvez l'ajouter un peu ou vous voulez dans les vues d'HikaShop en fonction de là où vous voulez l'afficher exactement.

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

12 years 9 months ago [\#139568](#139568) by [jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")  Replied by *[jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")* on topic *[Poids total de la commande dans le panier?](/forum/5-support-en-francais-french-support-/864955-poids-total-de-la-commande-dans-le-panier#139568 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour ou bonsoir.  J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver :-(  Le but est de pouvoir avoir des mode de livraison example:  de 0 à 2kg 9.-chf de 2 à 5kg 11.-chf  Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...  Merci d'avance  Jérôme")*

Bonsoir je ne suis pas très fort en code et php...

Pouriez-vous me dire en gros ou je peux l'inserer ?

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

12 years 9 months ago [\#139589](#139589) 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 *[Poids total de la commande dans le panier?](/forum/5-support-en-francais-french-support-/864955-poids-total-de-la-commande-dans-le-panier#139589 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour ou bonsoir.  J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver :-(  Le but est de pouvoir avoir des mode de livraison example:  de 0 à 2kg 9.-chf de 2 à 5kg 11.-chf  Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...  Merci d'avance  Jérôme")*

Bonjour,
Comme Nicolas vous l'a dit :

> Vous pouvez l'ajouter un peu ou vous voulez dans les vues d'HikaShop en fonction de là où vous voulez l'afficher exactement.

Pouvez-vous me dire exactement ou vous voulez l'ajouter via quelque captures d'écran ?

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

12 years 9 months ago [\#139591](#139591) by [jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")  Replied by *[jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")* on topic *[Poids total de la commande dans le panier?](/forum/5-support-en-francais-french-support-/864955-poids-total-de-la-commande-dans-le-panier#139591 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour ou bonsoir.  J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver :-(  Le but est de pouvoir avoir des mode de livraison example:  de 0 à 2kg 9.-chf de 2 à 5kg 11.-chf  Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...  Merci d'avance  Jérôme")*

bonjours j aimerais le mettre dans le module "panier"
en bas de page ou il y a le récapitulatif du panier

[ ![&#91;img](http://img822.imageshack.us/img822/8964/l7q7.jpg) ](http://img822.imageshack.us/img822/8964/l7q7.jpg "&#91;img")

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

12 years 9 months ago [\#139598](#139598) 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 *[Poids total de la commande dans le panier?](/forum/5-support-en-francais-french-support-/864955-poids-total-de-la-commande-dans-le-panier#139598 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour ou bonsoir.  J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver :-(  Le but est de pouvoir avoir des mode de livraison example:  de 0 à 2kg 9.-chf de 2 à 5kg 11.-chf  Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...  Merci d'avance  Jérôme")*

Il vous suffira donc simplement d'ajouter votre code à la fin du ficher "cart" de la vue "produit" de votre template de front-end via "*Hikashop-&gt;Affichage-&gt;Vues*".

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

12 years 9 months ago [\#139661](#139661) by [jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")  Replied by *[jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")* on topic *[Poids total de la commande dans le panier?](/forum/5-support-en-francais-french-support-/864955-poids-total-de-la-commande-dans-le-panier#139661 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour ou bonsoir.  J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver :-(  Le but est de pouvoir avoir des mode de livraison example:  de 0 à 2kg 9.-chf de 2 à 5kg 11.-chf  Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...  Merci d'avance  Jérôme")*

merci beaucoup pour votre réponse rapide ! sauriez vous me dire comment ajouter un petit reste en début du code et après le résultat mettre "Kg"

et en début : "Voici le poids total de votre commande actuel"

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vODY0OTU1LXBvaWRzLXRvdGFsLWRlLWxhLWNvbW1hbmRlLWRhbnMtbGUtcGFuaWVyP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

12 years 9 months ago [\#139808](#139808) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Poids total de la commande dans le panier?](/forum/5-support-en-francais-french-support-/864955-poids-total-de-la-commande-dans-le-panier#139808 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour ou bonsoir.  J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver :-(  Le but est de pouvoir avoir des mode de livraison example:  de 0 à 2kg 9.-chf de 2 à 5kg 11.-chf  Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...  Merci d'avance  Jérôme")*

Il suffit d'écrire votre texte. Code:

Voici le poids total de votre commande actuel &lt;?php $cartClass = hikashop_get('class.cart'); $cart = $cartClass-&gt;loadFullCart(true); echo $cart-&gt;weight; ?&gt;Kg

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

12 years 9 months ago [\#139830](#139830) by [jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")  Replied by *[jerome409](/forum/user/30660-jerome409 "View jerome409's Profile")* on topic *[Poids total de la commande dans le panier?](/forum/5-support-en-francais-french-support-/864955-poids-total-de-la-commande-dans-le-panier#139830 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : x.x.x -- Joomla version -- : x.x -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Bonjour ou bonsoir.  J'ai paramatrer les peoduits avec dimension et poids... mais je voulais savoir si c'etais possible d'afficher le poids total de la commande? Si oui comment? Car j'ai chercher sens trouver :-(  Le but est de pouvoir avoir des mode de livraison example:  de 0 à 2kg 9.-chf de 2 à 5kg 11.-chf  Les client pourais voir si ils sont a 2.1kg (ils pourront choisire de supprimer 1 article pour tomber sous la barre des 2kg pour payer moin de frais d'envois etc etc...  Merci d'avance  Jérôme")*

tout simplement.

Ok merci beaucoup pour votre aide ca marche nikel!

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

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

[](#top)
