[wellwell-devel] [wellwell] Combine hook event added for cart.
Stefan Hornburg
wellwell-devel at rt.icdevgroup.org
Thu Jul 1 09:08:48 UTC 2010
commit e3c10acc7f6061a92ee8b1bc7c975a8bd7c33c50
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Thu Jul 1 11:05:28 2010 +0200
Combine hook event added for cart.
lib/WellWell/Cart.pm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/WellWell/Cart.pm b/lib/WellWell/Cart.pm
index 0410987..862b4c4 100644
--- a/lib/WellWell/Cart.pm
+++ b/lib/WellWell/Cart.pm
@@ -106,6 +106,7 @@ sub cart_add {
}
if (!$separate_item && ($combref = combine_items($itemref))){
+ WellWell::Core::hooks('run', 'cart', 'combine', 'main', $itemref, {quantity => $combref->{quantity}});
return $combref;
}
More information about the wellwell-devel
mailing list