From f5f1f895c01679c449432375d8c55b126566e448 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Tue, 9 May 2006 15:01:22 +0000 Subject: [PATCH] more debug --- lib/WebGUI/Commerce/Item/Event.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/WebGUI/Commerce/Item/Event.pm b/lib/WebGUI/Commerce/Item/Event.pm index 1d1696e41..a76c66078 100644 --- a/lib/WebGUI/Commerce/Item/Event.pm +++ b/lib/WebGUI/Commerce/Item/Event.pm @@ -108,6 +108,8 @@ sub priceLineItem { my $quantity = shift; # this is the output of ShoppingCart->getItems (the \@normal arrayref). my $cartItems = shift; + use Data::Dumper; + $self->session->errorHandler->warn('normal contents: '.Dumper($cartItems)); # this is the default price of this event. my $price = $self->{_event}->{price}; # get the list of discount passes that this event is "under"