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

#   shipping costs based on maxnumber of items 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
-
-

13 years 9 months ago [\#83722](#83722) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#83722 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")* was created by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")*

I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this?
i don't have the volumes of all my products so cant use this method

Many Thanks

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

13 years 9 months ago [\#84016](#84016) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#84016 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")*

Hi,

We would need to know how you configured you correct shipping methods in order to understand what are the possibilities. Could you explain a bit more your situation please ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MTE5LXNoaXBwaW5nLWNvc3RzLWJhc2VkLW9uLW1heG51bWJlci1vZi1pdGVtcy1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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 9 months ago [\#84029](#84029) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#84029 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")*

i used the manual shipping method. I created a shipping method eg Delivery to Australia 0 to 19kg, added Australia country to the shipping zone, then added a minimum weight 0kg and a maximum weight 19kg.

What I need is to create another shipping method for items under 1.5kg or maximum 3 items which also displays a warning that this shipping method can only be used for small parcels not exceeding 90cm in total or maximum 3 items weighing less than 1.5kg not exceeding 90cm

can this be done ?

Many Thanks

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

13 years 9 months ago [\#84499](#84499) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#84499 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")*

Hi,

In the manual shipping method options, you can limit to a maximum volume and a maximum weight, it takes volume and the weight of all the products in the cart.
To restrict for a number of items, it's not implemented yet, you can duplicate the manual shipping plugin and edit it to add an option to restrict to a number of products.

I add this functionality on the TODO list.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MTE5LXNoaXBwaW5nLWNvc3RzLWJhc2VkLW9uLW1heG51bWJlci1vZi1pdGVtcy1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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 9 months ago [\#86328](#86328) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#86328 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")*

i cant use maximum volume or weight as i have over 3000 products not all of them have volume sizes? Can it not be based on number of items in cart?

Thanks

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

13 years 9 months ago [\#86331](#86331) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#86331 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")*

If you set the same weight or volume in all these products, you can use the weight or volume restriction to do a number of items restriction.
It might however not be adapted to your situation and in that case, that would require to add such options in the manual shipping plugin. As Xavier said, that's on our todo list.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MTE5LXNoaXBwaW5nLWNvc3RzLWJhc2VkLW9uLW1heG51bWJlci1vZi1pdGVtcy1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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 9 months ago [\#86344](#86344) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#86344 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")*

the weights can be used but are not accurate, for example customers could buy up to 2kg of items but their volume would exceed the 900mm maximum for a certain shipping option. so even though the weight is below the shipping option requirement, its volume its too large for it as parcel companies also use volume as well as weights to calculate costs. The way I was trying to get around this was to restrict the number of items in the cart. However my only option now is to put up a pop up message warning them that certain options are only for a maximum number of items. Can you advise how I can display a popup message in hika shop when they select a certain shipping method?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MTE5LXNoaXBwaW5nLWNvc3RzLWJhc2VkLW9uLW1heG51bWJlci1vZi1pdGVtcy1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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 9 months ago [\#86390](#86390) 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 *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#86390 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")*

Hi,

Displaying a popup would require some development, so my advise would be to say it trough your shipping description

Hope this will help you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc3MTE5LXNoaXBwaW5nLWNvc3RzLWJhc2VkLW9uLW1heG51bWJlci1vZi1pdGVtcy1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) 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 9 months ago [\#86392](#86392) by [itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")  Replied by *[itye2012](/forum/user/8062-itye2012 "View itye2012's Profile")* on topic *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#86392 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")*

did this but it has caused issues hence the reason for the post so as to prevent it from happening again. So I gather there is no real solution to this issue ?

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

13 years 9 months ago [\#86547](#86547) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[shipping costs based on maxnumber of items in cart](/forum/2-general-talk-about-hikashop/77119-shipping-costs-based-on-maxnumber-of-items-in-cart#86547 "I want a shipping cost to be applied only if there are a maximum of 2 items in a cart, is there a way of doing this? i don't have the volumes of all my products so cant use this method  Many Thanks")*

Instead of a popup, the solution is to not have any shipping method in that case. Thus, HikaShop will display an error message telling the user for example that the products in the cart exceed the limits of the shipping methods. That will also block the user from checking out with a shipping method which would not be possible.
Then, you can customize the error message with a translation override to have the text you want for it.

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

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

[](#top)
