Skip to main content

max order quantity

More
15 years 7 months ago #8983 by loling
max order quantity was created by loling
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 or Create an account to join the conversation.

More
15 years 7 months ago #8986 by nicolas
Replied by nicolas on topic Re: max order quantity
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 or Create an account to join the conversation.

More
15 years 7 months ago #8992 by loling
Replied by loling on topic Re: max order quantity
yes,, i get that =)
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 or Create an account to join the conversation.

More
15 years 7 months ago #8993 by nicolas
Replied by nicolas on topic Re: max order quantity
There is no easy way to do it.

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #8996 by loling
Replied by loling on topic Re: max order quantity
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 =(

o yah how do i change page navigation from "StartPrev123NextEnd" to "First < 1|2|3 > End"??

Thanks =)

Please Log in or Create an account to join the conversation.

More
15 years 7 months ago #8999 by nicolas
Replied by nicolas on topic Re: max order quantity
You can trigger SQL query automatically in PHP using cron: www.htmlcenter.com/blog/running-php-scripts-with-cron/

You can use pagination links override:
docs.joomla.org/Understanding_Output_Ove...tion_Links_Overrides
Since HikaShop uses the joomla pagination system, you can override it in your template like explained on that page.

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds
Powered by Kunena Forum