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

Stefan Hornburg racke at rt.icdevgroup.org
Mon Nov 23 06:27:41 UTC 2009


       via  c15570618e23e52e91c141312ce7c902b80df30a (commit)
      from  4d5d840d56d5e9197f71bcffd7818371bc5fc874 (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 c15570618e23e52e91c141312ce7c902b80df30a
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Mon Nov 23 07:26:56 2009 +0100

    added implementation for order_rollback hook to discount_gifts plugin

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

Summary of changes and diff:
 .../code/discount_gifts_order_rollback.sub         |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100644 plugins/discount_gifts/code/discount_gifts_order_rollback.sub

diff --git a/plugins/discount_gifts/code/discount_gifts_order_rollback.sub b/plugins/discount_gifts/code/discount_gifts_order_rollback.sub
new file mode 100644
index 0000000..c0146d5
--- /dev/null
+++ b/plugins/discount_gifts/code/discount_gifts_order_rollback.sub
@@ -0,0 +1,6 @@
+Sub discount_gifts_order_rollback <<EOS
+sub {
+	# remove all discount gifts from cart
+	$Tag->cart_delete({modifier => 'discount_gift'});
+}
+EOS
\ No newline at end of file


hooks/post-receive
-- 
Interchange wellwell catalog



More information about the wellwell-devel mailing list