fixed more c2 bugs

added a workflow activity that removes EMS items from the cart if they've been in there too long
This commit is contained in:
JT Smith 2008-04-09 22:48:15 +00:00
parent 7e4e7898c0
commit 02c24aa44a
7 changed files with 128 additions and 3 deletions

View file

@ -160,6 +160,7 @@ Returns the WebGUI::Shop::Address object that is attached to this item for shipp
sub getShippingAddress {
my $self = shift;
my $addressId = $self->get("shippingAddressId") || $self->cart->get("shippingAddressId");
$self->cart->session->errorHandler->warn("address id: ". $addressId);
return $self->cart->getAddressBook->getAddress($addressId);
}