News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

basket.php: $product_rows['update_form'] inputbox length=4!

Started by dokape, January 23, 2009, 11:27:34 AM

Previous topic - Next topic

dokape

Version: virtuemart 1.1.2 stable
File: /administrator/components/com_virtuemart/html/basket.php
Line: 136:
Definition of $product_rows[$i]['update_form']:
The maxlength of the input-box for the quantity is defined for a max-value of length=4, that's 9999 items. Bad idea for a wholesaler/large-order-shop.

In Administration area, a "max_order_level" can be defined for each product.
Initially set to size=10!
If you add a product into the basket, you can use a bigger quantity than 9999 items. But lateron, at the basket, you are only allowed to set a maximium quantity of 9999.
That makes no sense.
=> Use the max quantity config of the product defined in the administration area.

For me it works, when I put this on 8 :-)

Regards from South-Germany,
Peter