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

#   Quantity in Shopping Basket is limited to 15

##

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

Less More

- Posts: 14
- Thank you received: 1
-
-

10 years 7 months ago -  10 years 7 months ago [\#232342](#232342) by [Idrian65](/forum/user/39229-idrian65 "View Idrian65's Profile")  *[Quantity in Shopping Basket is limited to 15](/forum/27-checkout/882846-quantity-in-shopping-basket-is-limited-to-15#232342 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : Firefox 44.02  Hi, I have several products that should be purchased in bigger quantities, let's say up to 200. But when I put products in the basket with quantity &gt; 15 the Quantity Pulldown field shows 1. When I want to correct it, I saw that the Pulldown Field is limited to 15. That means, up to quantity 15 everything is ok, do want want to put more in the basket, the pulldown menu shows a quantity of 1. Besides this problem, the next steps in the order go wrong. When I proceed checkout there is a quantitiy of 0 before I can finish the order. By the way, the total price calculation works fine all the time.")* was created by *[Idrian65](/forum/user/39229-idrian65 "View Idrian65's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5.3
-- Browser(s) name and version -- : Firefox 44.02

Hi,
I have several products that should be purchased in bigger quantities, let's say up to 200.
But when I put products in the basket with quantity &gt; 15 the Quantity Pulldown field shows 1.
When I want to correct it, I saw that the Pulldown Field is limited to 15.
That means, up to quantity 15 everything is ok, do want want to put more in the basket, the pulldown menu shows a quantity of 1.
Besides this problem, the next steps in the order go wrong. When I proceed checkout there is a quantitiy of 0 before I can finish the order.
By the way, the total price calculation works fine all the time.

- [ ![screen1.png](/forum/attachment/29934) ](/forum/attachment/29934 "screen1.png") [ ](/forum/attachment/29934?download=1 "screen1.png")
- [ ![screen2.png](/forum/attachment/29935) ](/forum/attachment/29935 "screen2.png") [ ](/forum/attachment/29935?download=1 "screen2.png")

Last edit: 10 years 7 months ago by [Idrian65](/forum/user/39229-idrian65 "View Idrian65's Profile"). Reason: Missing attachments

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjg0Ni1xdWFudGl0eS1pbi1zaG9wcGluZy1iYXNrZXQtaXMtbGltaXRlZC10by0xNT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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)
-

10 years 7 months ago -  10 years 7 months ago [\#232362](#232362) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Quantity in Shopping Basket is limited to 15](/forum/27-checkout/882846-quantity-in-shopping-basket-is-limited-to-15#232362 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : Firefox 44.02  Hi, I have several products that should be purchased in bigger quantities, let's say up to 200. But when I put products in the basket with quantity &gt; 15 the Quantity Pulldown field shows 1. When I want to correct it, I saw that the Pulldown Field is limited to 15. That means, up to quantity 15 everything is ok, do want want to put more in the basket, the pulldown menu shows a quantity of 1. Besides this problem, the next steps in the order go wrong. When I proceed checkout there is a quantitiy of 0 before I can finish the order. By the way, the total price calculation works fine all the time.")*

Hi,

You have to fill the options "Min quantity per order" and "Max quantity per order" in the product edition page.
The min quantity allow to set the steps of the dropdown.

Regarding the 0 quantity in the order, the system does not seem to be able to get the values of these options correctly.
Do you have any view overrides on the views "product / cart" and "checkout / cart" ?

Last edit: 10 years 7 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

The following user(s) said Thank You: [Idrian65](/forum/user/39229-idrian65 "View Idrian65's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjg0Ni1xdWFudGl0eS1pbi1zaG9wcGluZy1iYXNrZXQtaXMtbGltaXRlZC10by0xNT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 14
- Thank you received: 1
-
-

10 years 7 months ago [\#232443](#232443) by [Idrian65](/forum/user/39229-idrian65 "View Idrian65's Profile")  Replied by *[Idrian65](/forum/user/39229-idrian65 "View Idrian65's Profile")* on topic *[Quantity in Shopping Basket is limited to 15](/forum/27-checkout/882846-quantity-in-shopping-basket-is-limited-to-15#232443 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : Firefox 44.02  Hi, I have several products that should be purchased in bigger quantities, let's say up to 200. But when I put products in the basket with quantity &gt; 15 the Quantity Pulldown field shows 1. When I want to correct it, I saw that the Pulldown Field is limited to 15. That means, up to quantity 15 everything is ok, do want want to put more in the basket, the pulldown menu shows a quantity of 1. Besides this problem, the next steps in the order go wrong. When I proceed checkout there is a quantitiy of 0 before I can finish the order. By the way, the total price calculation works fine all the time.")*

Hi Xavier,

this suggestion fixed my problem. Thank you. I thought, that it would be sufficient to leave the "Max quantity per order" as it is - from = 0 to unlimited. Obviously not. I set now the figures from 1 to 800 and it works fine.
Once again, thanks a lot.

Anton

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjg0Ni1xdWFudGl0eS1pbi1zaG9wcGluZy1iYXNrZXQtaXMtbGltaXRlZC10by0xNT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")**
- [![inkinick's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-03-12-2.png)](/forum/user/13267-inkinick "View inkinick's Profile")
- [ Offline](/forum/user/13267-inkinick)

Less More

- Posts: 5
- Thank you received: 0
-
-
-
- [](http://www.inkguard.net)
-

10 years 4 months ago [\#242390](#242390) by [inkinick](/forum/user/13267-inkinick "View inkinick's Profile")  Replied by *[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")* on topic *[Quantity in Shopping Basket is limited to 15](/forum/27-checkout/882846-quantity-in-shopping-basket-is-limited-to-15#242390 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : Firefox 44.02  Hi, I have several products that should be purchased in bigger quantities, let's say up to 200. But when I put products in the basket with quantity &gt; 15 the Quantity Pulldown field shows 1. When I want to correct it, I saw that the Pulldown Field is limited to 15. That means, up to quantity 15 everything is ok, do want want to put more in the basket, the pulldown menu shows a quantity of 1. Besides this problem, the next steps in the order go wrong. When I proceed checkout there is a quantitiy of 0 before I can finish the order. By the way, the total price calculation works fine all the time.")*

Hi, This limit of 15 is causing me a major headache across 2 shops I am developing.

If the product has a stock of say 44 and the client orders 20 of them. When they go to the checkout the cost is correct but the quantity is zero. They choose the offered shipping option and the cart updates and deletes the product and returns them to the home page (only if I'm testing with one product line above 15).
If you use the solution of adding a max and min qty to each product you then get the correct view at the product page (44 available) but now at the checkout, if the client decides to amend the order they can choose between 1 and 800 and if they choose above 44 (in this example) they get a system message saying "limit reached..."... This looks awful and isn't professional having already told them at the product page what the stock limit is.
Please, please, please can you let me know how you disable this 15 limit at checkout across the whole site?
Many thanks, ![:(](/media/kunena/emoticons/22.png ":(")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjg0Ni1xdWFudGl0eS1pbi1zaG9wcGluZy1iYXNrZXQtaXMtbGltaXRlZC10by0xNT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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)
-

10 years 4 months ago [\#242412](#242412) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Quantity in Shopping Basket is limited to 15](/forum/27-checkout/882846-quantity-in-shopping-basket-is-limited-to-15#242412 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : Firefox 44.02  Hi, I have several products that should be purchased in bigger quantities, let's say up to 200. But when I put products in the basket with quantity &gt; 15 the Quantity Pulldown field shows 1. When I want to correct it, I saw that the Pulldown Field is limited to 15. That means, up to quantity 15 everything is ok, do want want to put more in the basket, the pulldown menu shows a quantity of 1. Besides this problem, the next steps in the order go wrong. When I proceed checkout there is a quantitiy of 0 before I can finish the order. By the way, the total price calculation works fine all the time.")*

Hi,

You have to update to the latest version of HikaShop. This issue has already been solved.

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjg0Ni1xdWFudGl0eS1pbi1zaG9wcGluZy1iYXNrZXQtaXMtbGltaXRlZC10by0xNT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")**
- [![inkinick's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-03-12-2.png)](/forum/user/13267-inkinick "View inkinick's Profile")
- [ Offline](/forum/user/13267-inkinick)

Less More

- Posts: 5
- Thank you received: 0
-
-
-
- [](http://www.inkguard.net)
-

10 years 4 months ago -  10 years 4 months ago [\#242537](#242537) by [inkinick](/forum/user/13267-inkinick "View inkinick's Profile")  Replied by *[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")* on topic *[Quantity in Shopping Basket is limited to 15](/forum/27-checkout/882846-quantity-in-shopping-basket-is-limited-to-15#242537 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : Firefox 44.02  Hi, I have several products that should be purchased in bigger quantities, let's say up to 200. But when I put products in the basket with quantity &gt; 15 the Quantity Pulldown field shows 1. When I want to correct it, I saw that the Pulldown Field is limited to 15. That means, up to quantity 15 everything is ok, do want want to put more in the basket, the pulldown menu shows a quantity of 1. Besides this problem, the next steps in the order go wrong. When I proceed checkout there is a quantitiy of 0 before I can finish the order. By the way, the total price calculation works fine all the time.")*

My bad... I thought it had been done but we'd moved the shop to a new URL and hadn't updated either of our two subs!!!
However, I've updated both sites (everything I seem to be able to) and it still isn't working? ![:-(](/media/kunena/emoticons/22.png ":-(")

I found this in the checkout/cart.php view -
if($max_quantity == 0)
$max_quantity = (int)$min_quantity * 15;
Lines 223 &amp; 224...

Am I in the right place?

Last edit: 10 years 4 months ago by [inkinick](/forum/user/13267-inkinick "View inkinick's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjg0Ni1xdWFudGl0eS1pbi1zaG9wcGluZy1iYXNrZXQtaXMtbGltaXRlZC10by0xNT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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)
-

10 years 4 months ago [\#242556](#242556) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Quantity in Shopping Basket is limited to 15](/forum/27-checkout/882846-quantity-in-shopping-basket-is-limited-to-15#242556 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : Firefox 44.02  Hi, I have several products that should be purchased in bigger quantities, let's say up to 200. But when I put products in the basket with quantity &gt; 15 the Quantity Pulldown field shows 1. When I want to correct it, I saw that the Pulldown Field is limited to 15. That means, up to quantity 15 everything is ok, do want want to put more in the basket, the pulldown menu shows a quantity of 1. Besides this problem, the next steps in the order go wrong. When I proceed checkout there is a quantitiy of 0 before I can finish the order. By the way, the total price calculation works fine all the time.")*

Hi,

Please use that code: Code:

$min_quantity = (@$this-&gt;row-&gt;main-&gt;product_min_per_order) ? (int)@$this-&gt;row-&gt;main-&gt;product_min_per_order : (int)@$this-&gt;row-&gt;product_min_per_order; $max_quantity = (@$this-&gt;row-&gt;main-&gt;product_max_per_order) ? (int)@$this-&gt;row-&gt;main-&gt;product_max_per_order : (int)@$this-&gt;row-&gt;product_max_per_order;

Instead of: Code:

$min_quantity = $this-&gt;row-&gt;product_min_per_order; $max_quantity = $this-&gt;row-&gt;product_max_per_order;

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjg0Ni1xdWFudGl0eS1pbi1zaG9wcGluZy1iYXNrZXQtaXMtbGltaXRlZC10by0xNT90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")**
- [![inkinick's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-03-12-2.png)](/forum/user/13267-inkinick "View inkinick's Profile")
- [ Offline](/forum/user/13267-inkinick)

Less More

- Posts: 5
- Thank you received: 0
-
-
-
- [](http://www.inkguard.net)
-

10 years 4 months ago [\#243057](#243057) by [inkinick](/forum/user/13267-inkinick "View inkinick's Profile")  Replied by *[inkinick](/forum/user/13267-inkinick "View inkinick's Profile")* on topic *[Quantity in Shopping Basket is limited to 15](/forum/27-checkout/882846-quantity-in-shopping-basket-is-limited-to-15#243057 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.3 -- Browser(s) name and version -- : Firefox 44.02  Hi, I have several products that should be purchased in bigger quantities, let's say up to 200. But when I put products in the basket with quantity &gt; 15 the Quantity Pulldown field shows 1. When I want to correct it, I saw that the Pulldown Field is limited to 15. That means, up to quantity 15 everything is ok, do want want to put more in the basket, the pulldown menu shows a quantity of 1. Besides this problem, the next steps in the order go wrong. When I proceed checkout there is a quantitiy of 0 before I can finish the order. By the way, the total price calculation works fine all the time.")*

Many thanks,
Sorry for the delay in response, I've been away for a few days.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4Mjg0Ni1xdWFudGl0eS1pbi1zaG9wcGluZy1iYXNrZXQtaXMtbGltaXRlZC10by0xNT90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.104 seconds

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