added getCartBySession()
This commit is contained in:
parent
d47d2f2a9c
commit
7c184b26c3
4 changed files with 22 additions and 6 deletions
|
|
@ -109,7 +109,7 @@ sub www_cart {
|
|||
my $session = shift;
|
||||
my $output = undef;
|
||||
my $method = "www_". ( $session->form->get("method") || "view");
|
||||
my $cart = WebGUI::Shop::Cart->create($session);
|
||||
my $cart = WebGUI::Shop::Cart->getCartBySession($session);
|
||||
if ($cart->can($method)) {
|
||||
$output = $cart->$method();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue