Index: openacs-4/packages/ecommerce/ecommerce.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/ecommerce.info,v diff -u -r1.37.2.3 -r1.37.2.4 --- openacs-4/packages/ecommerce/ecommerce.info 15 Dec 2004 21:29:40 -0000 1.37.2.3 +++ openacs-4/packages/ecommerce/ecommerce.info 19 Feb 2005 09:23:43 -0000 1.37.2.4 @@ -7,7 +7,7 @@ f t - + Janine Sisk Bart Teeuwisse Alfred Werner @@ -16,7 +16,7 @@ furfly.net, LLC This module implements all that IT needs for a standard business-to-consumer Web service. You can find a feature summary in the documentaion. - + @@ -31,6 +31,7 @@ + Index: openacs-4/packages/ecommerce/www/shopping-cart-quantities-change.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/ecommerce/www/shopping-cart-quantities-change.tcl,v diff -u -r1.6 -r1.6.2.1 --- openacs-4/packages/ecommerce/www/shopping-cart-quantities-change.tcl 8 Mar 2004 19:46:11 -0000 1.6 +++ openacs-4/packages/ecommerce/www/shopping-cart-quantities-change.tcl 19 Feb 2005 09:23:43 -0000 1.6.2.1 @@ -94,6 +94,7 @@ # set size_choice [lindex $product_color_size_style 2] # set style_choice [lindex $product_color_size_style 3] +set max_quantity_to_add [parameter::get -parameter CartMaxToAdd] db_transaction { @@ -114,7 +115,7 @@ set style_choice [lindex $product_color_size_style 3] if { $quantity_to_add > 0 } { - set remaining_quantity $quantity_to_add + set remaining_quantity [min $quantity_to_add $max_quantity_to_add] while { $remaining_quantity > 0 } { db_dml insert_new_quantity_to_add "insert into ec_items