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

#   Total weights

##

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

Less More

- Posts: 16
- Thank you received: 1
-
-

8 years 6 months ago [\#292765](#292765) by [urbanj](/forum/user/6112-urbanj "View urbanj's Profile")  *[Total weights](/forum/27-checkout/894724-total-weights#292765 "-- url of the page with the problem -- :   authenticapets.com  -- Joomla version -- : 3.8.5 -- PHP version -- : 7.0  Hi,  our shop is set up so that the customer can only order over a certain amount of weight.  have you got any code so the total weight of order placed so far will display in the drop down cart module?  it should say:  &quot;The total weight of your cart is not enough to place your order yet. You weight now is &quot;  This will need to be in English and Spanish depending on what language the customer has chosen.  Thank you")* was created by *[urbanj](/forum/user/6112-urbanj "View urbanj's Profile")*

-- url of the page with the problem -- : [ authenticapets.com](https://authenticapets.com)
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.0

Hi,

our shop is set up so that the customer can only order over a certain amount of weight.

have you got any code so the total weight of order placed so far will display in the drop down cart module?

it should say:

"The total weight of your cart is not enough to place your order yet. You weight now is &lt;total weight&gt;"

This will need to be in English and Spanish depending on what language the customer has chosen.

Thank you

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

8 years 6 months ago [\#292778](#292778) 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 *[Total weights](/forum/27-checkout/894724-total-weights#292778 "-- url of the page with the problem -- :   authenticapets.com  -- Joomla version -- : 3.8.5 -- PHP version -- : 7.0  Hi,  our shop is set up so that the customer can only order over a certain amount of weight.  have you got any code so the total weight of order placed so far will display in the drop down cart module?  it should say:  &quot;The total weight of your cart is not enough to place your order yet. You weight now is &quot;  This will need to be in English and Spanish depending on what language the customer has chosen.  Thank you")*

Hello,

The only solution to do what you want will be to directly use shipping methods and set the "Minimum Weight" option to your minimum order total weight requirement.

Best regards,
Mohamed Thelji.

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

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

Less More

- Posts: 16
- Thank you received: 1
-
-

8 years 6 months ago [\#292876](#292876) by [urbanj](/forum/user/6112-urbanj "View urbanj's Profile")  Replied by *[urbanj](/forum/user/6112-urbanj "View urbanj's Profile")* on topic *[Total weights](/forum/27-checkout/894724-total-weights#292876 "-- url of the page with the problem -- :   authenticapets.com  -- Joomla version -- : 3.8.5 -- PHP version -- : 7.0  Hi,  our shop is set up so that the customer can only order over a certain amount of weight.  have you got any code so the total weight of order placed so far will display in the drop down cart module?  it should say:  &quot;The total weight of your cart is not enough to place your order yet. You weight now is &quot;  This will need to be in English and Spanish depending on what language the customer has chosen.  Thank you")*

Thank you but I have already done that.

What I want is the current weight to show in the drop down cart so the customer know if they are underweight or not

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

Less More

- Posts: 86578
- Thank you received: 14321
-
-

8 years 6 months ago [\#292879](#292879) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Total weights](/forum/27-checkout/894724-total-weights#292879 "-- url of the page with the problem -- :   authenticapets.com  -- Joomla version -- : 3.8.5 -- PHP version -- : 7.0  Hi,  our shop is set up so that the customer can only order over a certain amount of weight.  have you got any code so the total weight of order placed so far will display in the drop down cart module?  it should say:  &quot;The total weight of your cart is not enough to place your order yet. You weight now is &quot;  This will need to be in English and Spanish depending on what language the customer has chosen.  Thank you")*

Hi,

If you've already done that, then on the checkout, you should get that error message:
"The cart items combined weight is too small for all the possible shipping methods"

And that error message can be customized with a translation override:
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)
And in your translation override, you can add a %s parameter which will automatically be filled with weight missing to reach the limit after which shipping methods will display.
So you could for example customize the message to:
ITEMS_WEIGHT_TOO_SMALL_FOR_SHIPPING_METHODS="The cart items combined weight is too small for all the possible shipping methods. You need %s kg more to be able to place your order."

Now if you want to add such message directly in the cart module. Then, you'll have to edit the file "cart" of the view "product" via the menu Display&gt;Views and add custom PHP code in it to check on the total weight and generate the message yourself.

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

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