[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. a626f89a1cb0870a04ad30739e2e8638575ecb0e

Stefan Hornburg racke at rt.icdevgroup.org
Sun Mar 14 10:57:53 UTC 2010


       via  a626f89a1cb0870a04ad30739e2e8638575ecb0e (commit)
       via  8e8e9befb76e6379dd472e45befee07469044d39 (commit)
      from  d93b7f9a6765120804e17a1871510e4f02acab84 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a626f89a1cb0870a04ad30739e2e8638575ecb0e
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Sun Mar 14 11:57:02 2010 +0100

    replace quantity update call with WellWell's internal one

commit 8e8e9befb76e6379dd472e45befee07469044d39
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Sun Mar 14 11:56:06 2010 +0100

    quantity can now be changed in the cart

-----------------------------------------------------------------------

Summary of changes and diff:
 code/cart.action |    4 ++--
 components/cart  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/code/cart.action b/code/cart.action
index 53d1fc0..706f89f 100644
--- a/code/cart.action
+++ b/code/cart.action
@@ -15,13 +15,13 @@ sub {
 	for (my $i = 0; $i < @$Items; $i++) {
 		if ($CGI->{"zeroquantity$i"}) {
 			$CGI->{"quantity$i"} = 0;
-			$Tag->update('quantity');
+			$Tag->cart_refresh();
 			return 1;
 		}	    
 	}
 
 	# update quantities in the cart
-	$Tag->update('quantity');
+	$Tag->cart_refresh();
 	return 1;
 }
 EOA
diff --git a/components/cart b/components/cart
index 18fe41f..032c5be 100644
--- a/components/cart
+++ b/components/cart
@@ -11,7 +11,7 @@
 <tr>
 <td><input type="submit" name="zero[quantity-name]" value="X">
 <td>[item-field name]</td>
-<td>[item-quantity]</td>
+<td><input name="[quantity-name]" size="3" value="[item-quantity]"></td>
 <td>[item-price]</td>
 <td>[item-subtotal]</td>
 </tr>


hooks/post-receive
-- 
Interchange wellwell catalog



More information about the wellwell-devel mailing list