cart done, moving on to cart item
This commit is contained in:
parent
640554ea14
commit
a4391994a4
3 changed files with 232 additions and 12 deletions
|
|
@ -67,7 +67,7 @@ A hash reference as generated by getOptions().
|
|||
sub addToCart {
|
||||
my ($self, $options) = @_;
|
||||
$self->applyOptions($options);
|
||||
my $cart = WebGUI::Shop::Cart->new($self->session);
|
||||
my $cart = WebGUI::Shop::Cart->create($self->session);
|
||||
my $cart->addItem($self, 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue