max order quantity

  • Posts: 51
  • Thank you received: 0
13 years 9 months ago #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

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #8986

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.

  • Posts: 51
  • Thank you received: 0
13 years 9 months ago #8992

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #8993

There is no easy way to do it.

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

  • Posts: 51
  • Thank you received: 0
13 years 9 months ago #8996

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #8999

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.061 seconds
Powered by Kunena Forum