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

#   weight calculator/show weight of products in cart

##

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 3 weeks ago [\#69145](#69145) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  *[weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69145 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")* was created by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")*

On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?

price of delivery will vary depending on weight so its crucial that the weight is displayed.

Can anyone advise?

Many Thanks

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 3 weeks ago [\#69152](#69152) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69152 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

Hi there,

You can display each product weight by adding this:
Code:

echo $row-&gt;product_weight;

in the file cart.php (components\views\checkout\tmpl) to display the weight where you want in the product table (for example near to &lt;?php echo $row-&gt;product_name; ?&gt; )
If you need the total weight just ask me, I'll give you few more lines of code to do so.

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 3 weeks ago [\#69203](#69203) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69203 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

many thanks for your reply, would it be possible for you to give me the code to display the total weight in the cart.

many thanks

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 3 weeks ago [\#69204](#69204) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69204 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

many thanks for your reply, would it be possible for you to give me the code to display the total weight in the cart.

would it also be possible that when a product is added to the cart the current weight is shown similar to showing the current total price. the idea is that a customer will know how much their shopping weighs as each weight is charged at different rates

many thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY5MTQ1LXdlaWdodC1jYWxjdWxhdG9yLXNob3ctd2VpZ2h0LW9mLXByb2R1Y3RzLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 3 weeks ago [\#69401](#69401) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69401 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

You can display the weight of the cart like that: Code:

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

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 2 weeks ago [\#69531](#69531) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69531 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

which file do i need to amend for above code?

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 2 weeks ago [\#69623](#69623) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69623 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

can someone let me know which file i need to edit to insert above code and where the code goes in the file? ive been waiting nearly 2 days now for the answer

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY5MTQ1LXdlaWdodC1jYWxjdWxhdG9yLXNob3ctd2VpZ2h0LW9mLXByb2R1Y3RzLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 2 weeks ago [\#69715](#69715) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69715 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

You didn't wait 2 days but 1 day.

You can add it in the same file as Eliot told you already:

> in the file cart.php (components\\views\\checkout\\tmpl) to display the weight where you want in the product table

If you're unsure, add it at the end of the file.

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

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 2 weeks ago [\#69825](#69825) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69825 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

i tried adding those lines but nothing happened..can you help?

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 2 weeks ago [\#69827](#69827) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69827 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

got it working now to show total weight but can you advise how i can add a label to it as it currently only shows a number, I also need to add a label and enter the weight measurement eg KG or G?

Thanks for your efforts

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY5MTQ1LXdlaWdodC1jYWxjdWxhdG9yLXNob3ctd2VpZ2h0LW9mLXByb2R1Y3RzLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 2 weeks ago [\#69928](#69928) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69928 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

After the code I gave, you can just write your main weight unit:
echo "kg";

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 2 weeks ago [\#69974](#69974) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#69974 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

many thanks for the help, the weight works great on checkout. Any possibility the current total weight can also be displayed in the cart? I mean not just on checkout but on the cart as the user is shopping

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY5MTQ1LXdlaWdodC1jYWxjdWxhdG9yLXNob3ctd2VpZ2h0LW9mLXByb2R1Y3RzLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 2 weeks ago [\#70120](#70120) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#70120 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

For the cart module, it's the file 'cart' of the view "product" that you need to modify. The code to add is the same.

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 2 weeks ago [\#70123](#70123) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#70123 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

many thanks, Ill try that

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 1 week ago [\#70644](#70644) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#70644 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

sorry not sure of which exact file you mean can you advise the path and file name?

Many Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY5MTQ1LXdlaWdodC1jYWxjdWxhdG9yLXNob3ctd2VpZ2h0LW9mLXByb2R1Y3RzLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 1 week ago [\#70781](#70781) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#70781 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

It's the file 'cart' of the view "product" that you need to modify. You can edit it via the menu Display-&gt;Views.

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

14 years 6 days ago [\#72046](#72046) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#72046 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

im still not clear on which file to edit sorry, can you advise ? I need to know how to edit? ie is it through ftp or via back end?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY5MTQ1LXdlaWdodC1jYWxjdWxhdG9yLXNob3ctd2VpZ2h0LW9mLXByb2R1Y3RzLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86315
- Thank you received: 14276
-
-

14 years 4 days ago [\#72337](#72337) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#72337 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

It's in the backend.
When you are in HikaShop, go in the menu Display-&gt;Views and search for the file 'cart' of the view "product"

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

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

Less More

- Posts: 115
- Thank you received: 0
-
-

13 years 10 months ago [\#83547](#83547) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[Re: weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#83547 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

since i upgraded this is not working for me anymore can you help

i need to display the current total weight in the cart and on checkout

thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY5MTQ1LXdlaWdodC1jYWxjdWxhdG9yLXNob3ctd2VpZ2h0LW9mLXByb2R1Y3RzLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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 10 months ago [\#83550](#83550) 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 *[weight calculator/show weight of products in cart](/forum/2-general-talk-about-hikashop/69145-weight-calculator-show-weight-of-products-in-cart#83550 "On my site it is important that customers can check the weight of their shopping cart for shipping costs are dependent on weight. Is there a way you can display the current weight of the products in their cart?  price of delivery will vary depending on weight so its crucial that the weight is displayed.  Can anyone advise?  Many Thanks")*

Hi,

Is the code that Nicolas and Eliot gave you still in the file 'cart' of the view "product" ?

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

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

Time to create page: 0.161 seconds

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

[](#top)
