Community Add-Ons
| Maintainers: | xantian15 |
Fast Update to Shopping Cart Quantity
for osCommerce Online Merchant v2.2
In reference to "Remove Product From Cart Button" it mentions "Auto Qty Update Contrib" which i cannot seem to find.
It says when you install both remove product from cart button and auto qty update you no longer need the update button.
Well here is my effort at implementing my own qty update contrib. Hope you guys like it, it was a very simple thing todo.
OVERVIEW
========
Enter a quantity inside of the quantity box in the shopping cart. Press enter or select outside of the box. The shopping cart refreshes using javascript showing the new quantity entered and a new overall shopping cart total.
enjoy!
Legend:
Download
Report
NEW CHANGES - Jan 8, 2010 by McAden:
Improved Javascript
Added validation to check for NaN
Doesn't reload the page if it doesn't need to (cancel deletion of item, or NaN value input)
Validation on NaN or cancelling deletion at 0 or negative numbers returns value to original.
Deletion through entering 0 or negative number, or clicking minus at 1 now triggers confirmation.
-- Full package --
Read txt file in package for installation instructions.
