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:
parent
7e4e7898c0
commit
02c24aa44a
7 changed files with 128 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue