Return a list of shipper to choose from in stead of none if no shipper has be chosen yet.

This commit is contained in:
Martin Kamerbeek 2010-12-17 15:59:45 +00:00
parent e222cd97b6
commit f748aa1b83
3 changed files with 35 additions and 3 deletions

View file

@ -875,8 +875,10 @@ sub www_ajaxPrices {
} || 0,
shipping => eval {
die unless $shipping;
$self->update({ shippingAddressId => $shipping });
#die unless $shipping;
if ( $shipping ) {
$self->update({ shippingAddressId => $shipping });
}
my $ship = WebGUI::Shop::Ship->new($self->session);
$ship->getOptions($self);
} || [],