fixing some bugs
This commit is contained in:
parent
920b36d728
commit
26d708a56b
4 changed files with 5 additions and 3 deletions
|
|
@ -42,9 +42,8 @@ isa_ok($cart->session, "WebGUI::Session");
|
|||
|
||||
my $root = WebGUI::Asset->getRoot($session);
|
||||
my $product = $root->addChild($session, {
|
||||
className=>"WebGUI::Asset::Sku::Product",
|
||||
className=>"WebGUI::Asset::Sku",
|
||||
title=>"Test Product",
|
||||
price=>4.99
|
||||
});
|
||||
|
||||
$cart->addItem($product, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue