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

#   Limiting the order quantity of a product

##

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

Less More

- Posts: 38
- Thank you received: 0
-
-

15 years 8 months ago [\#6914](#6914) by [QuantumView](/forum/user/994-quantumview "View QuantumView's Profile")  *[Limiting the order quantity of a product](/forum/2-general-talk-about-hikashop/6914-limiting-the-order-quantity-of-a-product#6914 "In the demo shop, if you go to the product page for the buthcer knife, it displays that there are 9 items in stock.  I can press the increase quantity button several time until the display indicates that I would order 10 (or more) items. I can also type 10 (or more) in the box. Then when I press the Add to cart button, it only adds 9 items.  While it makes sense that only 9 items are added to the cart because only 9 items are available in stock, I do not think that a customer should be able to type in more than the available items in stock. Or if they do and they press the add to cart button, that a warning message or pop-up window alerts the customer that only 9 items are in stock, and that only 9 item can be ordered, and that only 9 item were added to the cart.  1. Can the software allow for this feature?  Another related question I have regards the display of the items in stock. Can the store owner set the quantity of an item in stock, but not have it displayed on the order page. I would want to make sure that the software keeps track of the correct quantity in stock of all of the items displayed in my store (and also limits the customer from trying to order more than is available if they do enter a quantity greater than what is in stock, see above queation). But I do not want the customer (or anyone browsing the store) to know what my in-stock quantities are (unless they actually try to order more than what is available).  2. Can I control the stock in the back-end of the software with the maximum quantity, but not display this information on the front-end?  Thank you, Chris")* was created by *[QuantumView](/forum/user/994-quantumview "View QuantumView's Profile")*

In the demo shop, if you go to the product page for the buthcer knife, it displays that there are 9 items in stock.

I can press the increase quantity button several time until the display indicates that I would order 10 (or more) items. I can also type 10 (or more) in the box. Then when I press the Add to cart button, it only adds 9 items.

While it makes sense that only 9 items are added to the cart because only 9 items are available in stock, I do not think that a customer should be able to type in more than the available items in stock. Or if they do and they press the add to cart button, that a warning message or pop-up window alerts the customer that only 9 items are in stock, and that only 9 item can be ordered, and that only 9 item were added to the cart.

1. Can the software allow for this feature?

Another related question I have regards the display of the items in stock. Can the store owner set the quantity of an item in stock, but not have it displayed on the order page. I would want to make sure that the software keeps track of the correct quantity in stock of all of the items displayed in my store (and also limits the customer from trying to order more than is available if they do enter a quantity greater than what is in stock, see above queation). But I do not want the customer (or anyone browsing the store) to know what my in-stock quantities are (unless they actually try to order more than what is available).

2. Can I control the stock in the back-end of the software with the maximum quantity, but not display this information on the front-end?

Thank you,
Chris

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY5MTQtbGltaXRpbmctdGhlLW9yZGVyLXF1YW50aXR5LW9mLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 8 months ago [\#6917](#6917) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Limiting the order quantity of a product](/forum/2-general-talk-about-hikashop/6914-limiting-the-order-quantity-of-a-product#6917 "In the demo shop, if you go to the product page for the buthcer knife, it displays that there are 9 items in stock.  I can press the increase quantity button several time until the display indicates that I would order 10 (or more) items. I can also type 10 (or more) in the box. Then when I press the Add to cart button, it only adds 9 items.  While it makes sense that only 9 items are added to the cart because only 9 items are available in stock, I do not think that a customer should be able to type in more than the available items in stock. Or if they do and they press the add to cart button, that a warning message or pop-up window alerts the customer that only 9 items are in stock, and that only 9 item can be ordered, and that only 9 item were added to the cart.  1. Can the software allow for this feature?  Another related question I have regards the display of the items in stock. Can the store owner set the quantity of an item in stock, but not have it displayed on the order page. I would want to make sure that the software keeps track of the correct quantity in stock of all of the items displayed in my store (and also limits the customer from trying to order more than is available if they do enter a quantity greater than what is in stock, see above queation). But I do not want the customer (or anyone browsing the store) to know what my in-stock quantities are (unless they actually try to order more than what is available).  2. Can I control the stock in the back-end of the software with the maximum quantity, but not display this information on the front-end?  Thank you, Chris")*

Hi,

1. Actually no one complained about the way it's done actually. I agree though that it would be nice to have a message when you try to purchase more that the stock available. We'll look at adding that for next release.

2. You can just override the translation string in the config under the tab language so that it doesn't display the stock message.

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

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

Less More

- Posts: 38
- Thank you received: 0
-
-

15 years 8 months ago [\#6926](#6926) by [QuantumView](/forum/user/994-quantumview "View QuantumView's Profile")  Replied by *[QuantumView](/forum/user/994-quantumview "View QuantumView's Profile")* on topic *[Re: Limiting the order quantity of a product](/forum/2-general-talk-about-hikashop/6914-limiting-the-order-quantity-of-a-product#6926 "In the demo shop, if you go to the product page for the buthcer knife, it displays that there are 9 items in stock.  I can press the increase quantity button several time until the display indicates that I would order 10 (or more) items. I can also type 10 (or more) in the box. Then when I press the Add to cart button, it only adds 9 items.  While it makes sense that only 9 items are added to the cart because only 9 items are available in stock, I do not think that a customer should be able to type in more than the available items in stock. Or if they do and they press the add to cart button, that a warning message or pop-up window alerts the customer that only 9 items are in stock, and that only 9 item can be ordered, and that only 9 item were added to the cart.  1. Can the software allow for this feature?  Another related question I have regards the display of the items in stock. Can the store owner set the quantity of an item in stock, but not have it displayed on the order page. I would want to make sure that the software keeps track of the correct quantity in stock of all of the items displayed in my store (and also limits the customer from trying to order more than is available if they do enter a quantity greater than what is in stock, see above queation). But I do not want the customer (or anyone browsing the store) to know what my in-stock quantities are (unless they actually try to order more than what is available).  2. Can I control the stock in the back-end of the software with the maximum quantity, but not display this information on the front-end?  Thank you, Chris")*

Hello nicolas,

Thank you for your very quick and helpful reply. Hopefully you will be able to add the noted message in the next release. And the suggestion on the overide is perfect.

Thanks

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

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

Less More

- Posts: 105
- Thank you received: 0
-
-

15 years 6 months ago [\#15170](#15170) by [Hodgebw](/forum/user/2167-hodgebw "View Hodgebw's Profile")  Replied by *[Hodgebw](/forum/user/2167-hodgebw "View Hodgebw's Profile")* on topic *[Re: Limiting the order quantity of a product](/forum/2-general-talk-about-hikashop/6914-limiting-the-order-quantity-of-a-product#15170 "In the demo shop, if you go to the product page for the buthcer knife, it displays that there are 9 items in stock.  I can press the increase quantity button several time until the display indicates that I would order 10 (or more) items. I can also type 10 (or more) in the box. Then when I press the Add to cart button, it only adds 9 items.  While it makes sense that only 9 items are added to the cart because only 9 items are available in stock, I do not think that a customer should be able to type in more than the available items in stock. Or if they do and they press the add to cart button, that a warning message or pop-up window alerts the customer that only 9 items are in stock, and that only 9 item can be ordered, and that only 9 item were added to the cart.  1. Can the software allow for this feature?  Another related question I have regards the display of the items in stock. Can the store owner set the quantity of an item in stock, but not have it displayed on the order page. I would want to make sure that the software keeps track of the correct quantity in stock of all of the items displayed in my store (and also limits the customer from trying to order more than is available if they do enter a quantity greater than what is in stock, see above queation). But I do not want the customer (or anyone browsing the store) to know what my in-stock quantities are (unless they actually try to order more than what is available).  2. Can I control the stock in the back-end of the software with the maximum quantity, but not display this information on the front-end?  Thank you, Chris")*

Hello,

I am trying to work out how to add the number of items in stock to the product page. I cannot seem to find how to do this so that it shows up like it does on the demo page mentioned below.

Please can you advise.

Many thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY5MTQtbGltaXRpbmctdGhlLW9yZGVyLXF1YW50aXR5LW9mLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

15 years 6 months ago [\#15181](#15181) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Limiting the order quantity of a product](/forum/2-general-talk-about-hikashop/6914-limiting-the-order-quantity-of-a-product#15181 "In the demo shop, if you go to the product page for the buthcer knife, it displays that there are 9 items in stock.  I can press the increase quantity button several time until the display indicates that I would order 10 (or more) items. I can also type 10 (or more) in the box. Then when I press the Add to cart button, it only adds 9 items.  While it makes sense that only 9 items are added to the cart because only 9 items are available in stock, I do not think that a customer should be able to type in more than the available items in stock. Or if they do and they press the add to cart button, that a warning message or pop-up window alerts the customer that only 9 items are in stock, and that only 9 item can be ordered, and that only 9 item were added to the cart.  1. Can the software allow for this feature?  Another related question I have regards the display of the items in stock. Can the store owner set the quantity of an item in stock, but not have it displayed on the order page. I would want to make sure that the software keeps track of the correct quantity in stock of all of the items displayed in my store (and also limits the customer from trying to order more than is available if they do enter a quantity greater than what is in stock, see above queation). But I do not want the customer (or anyone browsing the store) to know what my in-stock quantities are (unless they actually try to order more than what is available).  2. Can I control the stock in the back-end of the software with the maximum quantity, but not display this information on the front-end?  Thank you, Chris")*

Hi,

You just need to add your product stock count in the "quantity" field of your product and it will appear on the product page.
If you have the shop in catalogue mode, it won't display. If you don't have any price, it won't display either.

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

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