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

#   Message for weight in check out

##

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

Less More

- Posts: 82
- Thank you received: 1
-
-

7 years 2 weeks ago [\#313018](#313018) by [lensky](/forum/user/8015-lensky "View lensky's Profile")  *[Message for weight in check out](/forum/27-checkout/898663-message-for-weight-in-check-out#313018 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.12  Hi, I set some delivery methods based on weight. Is it possible to show in cart messages like &quot;you can add up to xxxx kg more without pay more for delivery''? thank you Elena")* was created by *[lensky](/forum/user/8015-lensky "View lensky's Profile")*

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.12

Hi,
I set some delivery methods based on weight.
Is it possible to show in cart messages like "you can add up to xxxx kg more without pay more for delivery''?
thank you
Elena

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 2 weeks ago [\#313020](#313020) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Message for weight in check out](/forum/27-checkout/898663-message-for-weight-in-check-out#313020 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.12  Hi, I set some delivery methods based on weight. Is it possible to show in cart messages like &quot;you can add up to xxxx kg more without pay more for delivery''? thank you Elena")*

Hello,

We see several solutions to fit your needs, but can you define more precisely your idea ?
- Does this message have to be trigger or always be present, just to be sure.
- Detail some concrete cases

Awaiting details from you to better answer you.
Regards

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

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

Less More

- Posts: 82
- Thank you received: 1
-
-

7 years 3 days ago [\#313511](#313511) by [lensky](/forum/user/8015-lensky "View lensky's Profile")  Replied by *[lensky](/forum/user/8015-lensky "View lensky's Profile")* on topic *[Message for weight in check out](/forum/27-checkout/898663-message-for-weight-in-check-out#313511 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.12  Hi, I set some delivery methods based on weight. Is it possible to show in cart messages like &quot;you can add up to xxxx kg more without pay more for delivery''? thank you Elena")*

Hi,
I set delivery method - e.g. - for a weight between 0 and 10kg and a method for a weight between 10.01 kg and 20.
Supposing a customer to have 7 kg of products in the cart, I'd like to have a message in the cart (or at least in the checkout) like ' you have 3kg more without paying more for shipping fees'
of course I aim to make people buying more...
do you think is possible?
thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5ODY2My1tZXNzYWdlLWZvci13ZWlnaHQtaW4tY2hlY2stb3V0P3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14326
-
-

7 years 3 days ago [\#313518](#313518) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Message for weight in check out](/forum/27-checkout/898663-message-for-weight-in-check-out#313518 "-- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.12  Hi, I set some delivery methods based on weight. Is it possible to show in cart messages like &quot;you can add up to xxxx kg more without pay more for delivery''? thank you Elena")*

Hi,

In the file "show_block_cart", that you can edit via the menu Display&gt;Views, you would need to add such code: Code:

if($cart-&gt;package[weight']['value'] &lt; 10) { echo 'you have '.(10-$cart-&gt;package[weight']['value']).'kg more without paying more for shipping fees'; }

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

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