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

Stefan Hornburg racke at rt.icdevgroup.org
Thu Jun 25 14:47:34 UTC 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange wellwell catalog".

The branch, master has been updated
       via  40e3c230b8e1b098e2d64df4e9eacb571a6ac46a (commit)
       via  8c04df60f323a25a661b7383a84b4ae8592c2acd (commit)
      from  ad613d16532779393b9376248be2aa582364fec6 (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 40e3c230b8e1b098e2d64df4e9eacb571a6ac46a
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu Jun 25 16:47:00 2009 +0200

    checkout page added, make checkout button work

commit 8c04df60f323a25a661b7383a84b4ae8592c2acd
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu Jun 25 16:46:02 2009 +0200

    recognize checkout action

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

Summary of changes and diff:
 code/cart.action   |    6 ++++++
 components/cart    |    2 +-
 pages/checkout.itl |    4 ++++
 3 files changed, 11 insertions(+), 1 deletions(-)
 create mode 100644 pages/checkout.itl

diff --git a/code/cart.action b/code/cart.action
index bd67eb8..53d1fc0 100644
--- a/code/cart.action
+++ b/code/cart.action
@@ -5,6 +5,12 @@ sub {
 
 	$CGI->{mv_nextpage} = 'cart';
 
+	# checkout function?
+	if ($CGI->{checkout}) {
+		$CGI->{mv_nextpage} = 'checkout';
+		return 1;
+	}
+
 	# remove function?
 	for (my $i = 0; $i < @$Items; $i++) {
 		if ($CGI->{"zeroquantity$i"}) {
diff --git a/components/cart b/components/cart
index 114b856..8e809f6 100644
--- a/components/cart
+++ b/components/cart
@@ -19,6 +19,6 @@
 [/item-list]
 </table>
 <input type="submit" name="recalculate" value="[L]Recalculate[/L]">
-<input type="submit" value="[L]Checkout[/L]">
+<input type="submit" name="checkout" value="[L]Checkout[/L]">
 </form>
 </div>
diff --git a/pages/checkout.itl b/pages/checkout.itl
new file mode 100644
index 0000000..42a4068
--- /dev/null
+++ b/pages/checkout.itl
@@ -0,0 +1,4 @@
+[compose
+	components.body="checkout"
+	forms.checkout.name="checkout"
+]


hooks/post-receive
-- 
Interchange wellwell catalog



More information about the wellwell-devel mailing list