more session related bug fixes
This commit is contained in:
parent
30c3d8815d
commit
6779353b85
5 changed files with 34 additions and 29 deletions
|
|
@ -45,7 +45,7 @@ sub new {
|
|||
$class = shift;
|
||||
$variantId = shift;
|
||||
|
||||
$product = WebGUI::Product->getByVariantId($variantId);
|
||||
$product = WebGUI::Product->getByVariantId($session,$variantId);
|
||||
my $variant = $product->getVariant($variantId);
|
||||
my %parameters = map {split(/\./, $_)} split(/,/, $variant->{composition});
|
||||
my $composition = join(', ',map {$product->getParameter($_)->{name} .': '. $product->getOption($parameters{$_})->{value}} keys (%parameters));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue