Community Add-Ons

Maintainers: xantian15
Add file to this package
Top » Features

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

Expand All / Collapse All

Javascript Cleanup, Improved overall usability mcaden 8 Jan 2010  

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.

Delete Product if Quantity Goes to 0 - Fix for Product Attributes nerdDesign 1 Dec 2008  
Delete Product if Quantity Goes to 0 nerdDesign 11 Nov 2008  
Remove product marios88 28 Jul 2007  
Bug fixing Now the script is working with products with attributes. milix 10 Nov 2006  
Added [+] & [-] buttons jacopo 20 Oct 2006  
Didn't work for products with attributes xantian15 6 May 2006  
Fast Update to Shopping Cart Quantity xantian15 5 May 2006