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

#   Showing Total Order Weight in HikaMarket

##

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

10 years 3 months ago [\#247615](#247615) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  *[Showing Total Order Weight in HikaMarket](/forum/19-hikamarket/886003-showing-total-order-weight-in-hikamarket#247615 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.4  How can I show the total order weight in the order details in the control panel? must be a way as it shows everything else.")* was created by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")*

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.1
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.4

How can I show the total order weight in the order details in the control panel? must be a way as it shows everything else.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODg2MDAzLXNob3dpbmctdG90YWwtb3JkZXItd2VpZ2h0LWluLWhpa2FtYXJrZXQ/dG1wbD1tYXJrZG93bg==) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247635](#247635) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Showing Total Order Weight in HikaMarket](/forum/19-hikamarket/886003-showing-total-order-weight-in-hikamarket#247635 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.4  How can I show the total order weight in the order details in the control panel? must be a way as it shows everything else.")*

Hi,

It would require a view override to add the display of such information.
HikaShop order do not provide the order weight ; so you'll need to calculate it using the order's products.
To simplify the process, you can see to use the HikaShop cart class functions, like "calculateWeightAndVolume" ; but you'll need to give it a compatible object as parameter.

Regards,

---

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

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

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

10 years 3 months ago [\#247641](#247641) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  Replied by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")* on topic *[Showing Total Order Weight in HikaMarket](/forum/19-hikamarket/886003-showing-total-order-weight-in-hikamarket#247641 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.4  How can I show the total order weight in the order details in the control panel? must be a way as it shows everything else.")*

Not sure what you mean by "To simplify the process, you can see to use the HikaShop cart class functions, like "calculateWeightAndVolume" ; but you'll need to give it a compatible object as parameter."

Can you provide a little more information?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE5LWhpa2FtYXJrZXQvODg2MDAzLXNob3dpbmctdG90YWwtb3JkZXItd2VpZ2h0LWluLWhpa2FtYXJrZXQ/dG1wbD1tYXJrZG93bg==) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 3 months ago [\#247649](#247649) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Showing Total Order Weight in HikaMarket](/forum/19-hikamarket/886003-showing-total-order-weight-in-hikamarket#247649 "-- HikaShop version -- : 2.6.3 -- HikaMarket version -- : 1.7.1 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.4  How can I show the total order weight in the order details in the control panel? must be a way as it shows everything else.")*

Hi,

I'm just saying that the HikaShop cart class have a function which take a cart in parameter and will process the cart products in order to give you a cart weight (and cart volume).
A cart and an order are very similar in their structure, so it would be possible to provide an order object (with correct products) and call the function to get the order weight.
It would require some analyze and some PHP/Development skills ; but it is something possible and the "calculateWeightAndVolume" would avoid to recreate the wheel.

Regards,

---

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

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.045 seconds

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