[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. d734ec80715ae753a815f006ef033fddeca610a0
Stefan Hornburg
racke at rt.icdevgroup.org
Wed Apr 8 11:06:18 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 d734ec80715ae753a815f006ef033fddeca610a0 (commit)
from e3b86054e695cc1314031502b8155478a15afac4 (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 d734ec80715ae753a815f006ef033fddeca610a0
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Wed Apr 8 13:05:56 2009 +0200
addtocart action added to complement movetocart
-----------------------------------------------------------------------
Summary of changes and diff:
plugins/wishlists/code/wishlists.sub | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/plugins/wishlists/code/wishlists.sub b/plugins/wishlists/code/wishlists.sub
index 3350496..2540c96 100644
--- a/plugins/wishlists/code/wishlists.sub
+++ b/plugins/wishlists/code/wishlists.sub
@@ -26,6 +26,13 @@ sub {
}
}
+ # whether to copy stuff from wishlist to cart
+ if ($CGI->{addtocart}) {
+ for (@{$CGI_array->{sku}}) {
+ $Tag->addtocart($_, 1);
+ }
+ }
+
# whether to delete stuff from wishlist
if ($CGI->{remove}) {
$Tag->wishlist('remove', $CGI->{remove}, $CGI->{cart});
hooks/post-receive
--
Interchange wellwell catalog
More information about the wellwell-devel
mailing list