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

#   display order weight

##

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

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

12 years 1 month ago [\#176463](#176463) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  *[display order weight](/forum/35-orders-management/872493-display-order-weight#176463 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")* was created by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")*

Hi,
is there a way to see the total weight of an order only on my backend?
Thanks

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg3MjQ5My1kaXNwbGF5LW9yZGVyLXdlaWdodD90bXBsPW1hcmtkb3du) 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 1 month ago [\#176473](#176473) 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 *[display order weight](/forum/35-orders-management/872493-display-order-weight#176473 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

Hello,
To do that the solution will be to directly edit the code of the "show_products" file of the "Order" view of your back-end template via "Hikashop-&gt;Display-&gt;Views", note that some development skills will be required.

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

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

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

12 years 1 month ago [\#176568](#176568) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  Replied by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")* on topic *[display order weight](/forum/35-orders-management/872493-display-order-weight#176568 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

Hi,
but has the system the total weight already calculated?
If yes, what is the name of the variable?

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

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

12 years 1 month ago [\#176580](#176580) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[display order weight](/forum/35-orders-management/872493-display-order-weight#176580 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

Hi,

No it's not calculated, you will have to do a foreach on the products and increment a $weight variable for example and then display the value of this variable.

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

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

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

12 years 1 month ago [\#176728](#176728) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  Replied by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")* on topic *[display order weight](/forum/35-orders-management/872493-display-order-weight#176728 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

Hi,
like that it is too difficult for me.
But, why can not get the value of the shipping?
The system knows the weight because it has calculated the shipping cost.
![;)](/media/kunena/emoticons/24.png ";)")

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

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

12 years 1 month ago [\#176734](#176734) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[display order weight](/forum/35-orders-management/872493-display-order-weight#176734 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

Hi,

The fees are calculated in earlier based on the weight, etc. But the weight is not stored in the order, only the fees.
So the foreach is required in this case ![;)](/media/kunena/emoticons/24.png ";)")

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

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

Less More

- Posts: 719
- Thank you received: 3
-
-
-
- [](http://www.lacasettabio.it)
-

12 years 4 weeks ago -  12 years 4 weeks ago [\#176993](#176993) by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")  Replied by *[lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile")* on topic *[display order weight](/forum/35-orders-management/872493-display-order-weight#176993 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

Hi,
so, it is too difficult for me.
I hope that someone else ask you the same feature so that you can put it on your todo list!
![;)](/media/kunena/emoticons/24.png ";)")
Regards

---

my site with Hikashop
[ www.lacasettabio.it](http://www.lacasettabio.it)

Last edit: 12 years 4 weeks ago by [lacasetta](/forum/user/5505-lacasetta "View lacasetta's Profile").

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

- **[jesper](/forum/user/8151-jesper "View jesper's Profile")**
- [![jesper's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.png)](/forum/user/8151-jesper "View jesper's Profile")
- [ Offline](/forum/user/8151-jesper)

Less More

- Posts: 171
- Thank you received: 4
-
-

11 years 6 months ago [\#201657](#201657) by [jesper](/forum/user/8151-jesper "View jesper's Profile")  Replied by *[jesper](/forum/user/8151-jesper "View jesper's Profile")* on topic *[display order weight](/forum/35-orders-management/872493-display-order-weight#201657 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

needed it for something else, so just did the code Code:

$database = JFactory::getDBO(); $query = 'SELECT a.order_product_quantity,b.product_weight FROM ' . hikashop_table('order_product') . ' as a LEFT JOIN ' . hikashop_table('product') . ' as b ON a.product_id=b.product_id WHERE order_id=' . $this-&gt;order-&gt;order_id .''; $database-&gt;setQuery($query); $rows = $database-&gt;loadObjectList(); $weight = 0; foreach ($rows as $row) { $weight += $row-&gt;order_product_quantity*$row-&gt;product_weight; }

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

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

Less More

- Posts: 17
- Thank you received: 0
-
-

11 years 5 months ago [\#206360](#206360) by [thirdhatch](/forum/user/1140-thirdhatch "View thirdhatch's Profile")  Replied by *[thirdhatch](/forum/user/1140-thirdhatch "View thirdhatch's Profile")* on topic *[display order weight](/forum/35-orders-management/872493-display-order-weight#206360 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

Jesper, thank you for providing this! Can you tell me where this code snippet goes? Does it go on a particular line in show_products.php, or somewhere else?

Thanks!

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

11 years 5 months ago [\#206379](#206379) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[display order weight](/forum/35-orders-management/872493-display-order-weight#206379 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

Hi,

Regarding the code, it is related to the order ; so I think it's in the front-end display of the order or in the backend edition of the order.

Regards,

---

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

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

- **[jesper](/forum/user/8151-jesper "View jesper's Profile")**
- [![jesper's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.png)](/forum/user/8151-jesper "View jesper's Profile")
- [ Offline](/forum/user/8151-jesper)

Less More

- Posts: 171
- Thank you received: 4
-
-

11 years 4 months ago [\#206581](#206581) by [jesper](/forum/user/8151-jesper "View jesper's Profile")  Replied by *[jesper](/forum/user/8151-jesper "View jesper's Profile")* on topic *[display order weight](/forum/35-orders-management/872493-display-order-weight#206581 "Hi, is there a way to see the total weight of an order only on my backend? Thanks")*

It should be able to be used anywhere you could need it... i used it in the backend to calculate the total wieght of the order to send the info with the shipping module to the postal provider.

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

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