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

#   max order quantity

##

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 8 months ago [\#8983](#8983) by [loling](/forum/user/989-loling "View loling's Profile")  *[max order quantity](/forum/4-how-to/8983-max-order-quantity#8983 "how to set max order quantity equal to current quantity of product?? This is used to notify customer whenever they order more than stock")* was created by *[loling](/forum/user/989-loling "View loling's Profile")*

how to set max order quantity equal to current quantity of product?? This is used to notify customer whenever they order more than stock

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

15 years 8 months ago [\#8986](#8986) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: max order quantity](/forum/4-how-to/8983-max-order-quantity#8986 "how to set max order quantity equal to current quantity of product?? This is used to notify customer whenever they order more than stock")*

The max quantity per order option limits the number of items in the cart of the user.
The quantity option limits the number of items which can be ordered.

So if you have a quantity of 4, whatever is the value of the "max quantity per order" field, the user won't be able to order more than 4 items.

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 8 months ago [\#8992](#8992) by [loling](/forum/user/989-loling "View loling's Profile")  Replied by *[loling](/forum/user/989-loling "View loling's Profile")* on topic *[Re: max order quantity](/forum/4-how-to/8983-max-order-quantity#8992 "how to set max order quantity equal to current quantity of product?? This is used to notify customer whenever they order more than stock")*

yes,, i get that ![=)](/smile.gif "=)")
What I'm aiming is to get nice pop up warning that say 'not enough stock'.. i notice the pop up is shown according to max per order... Do you have any other way to show that pop up when customer order more than quantity??

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

15 years 8 months ago [\#8993](#8993) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: max order quantity](/forum/4-how-to/8983-max-order-quantity#8993 "how to set max order quantity equal to current quantity of product?? This is used to notify customer whenever they order more than stock")*

There is no easy way to do it.

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

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

Less More

- Posts: 51
- Thank you received: 0
-
-

15 years 8 months ago [\#8996](#8996) by [loling](/forum/user/989-loling "View loling's Profile")  Replied by *[loling](/forum/user/989-loling "View loling's Profile")* on topic *[Re: max order quantity](/forum/4-how-to/8983-max-order-quantity#8996 "how to set max order quantity equal to current quantity of product?? This is used to notify customer whenever they order more than stock")*

i was thinking to set max qty per order the same as quantity.. But if there is purchase or cancellation,, the quantity will be updated but the max qty per order will not.. Then i was thinking to do update using sql query from phpmyadmin,, but it is still manual trigger,, not automatic ![=(](/frown.gif "=(")

o yah how do i change page navigation from "StartPrev123NextEnd" to "First &lt; 1&#124;2&#124;3 &gt; End"??

Thanks ![=)](/smile.gif "=)")

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

15 years 8 months ago [\#8999](#8999) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: max order quantity](/forum/4-how-to/8983-max-order-quantity#8999 "how to set max order quantity equal to current quantity of product?? This is used to notify customer whenever they order more than stock")*

You can trigger SQL query automatically in PHP using cron: [ www.htmlcenter.com/blog/running-php-scripts-with-cron/](http://www.htmlcenter.com/blog/running-php-scripts-with-cron/)

You can use pagination links override:
[ docs.joomla.org/Understanding\_Output\_Ove...tion\_Links\_Overrides](http://docs.joomla.org/Understanding_Output_Overrides#Pagination_Links_Overrides)
Since HikaShop uses the joomla pagination system, you can override it in your template like explained on that page.

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

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