There is no Pfand.
This commit is contained in:
parent
8a18ac38c6
commit
3c2fc67c9e
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ sub hook_add {
|
||||||
return if exists $item->{is_pfand};
|
return if exists $item->{is_pfand};
|
||||||
return if not exists $item->{product_id};
|
return if not exists $item->{product_id};
|
||||||
|
|
||||||
my $pfand = _read_pfand->{ $item->{product_id} };
|
my $pfand = _read_pfand->{ $item->{product_id} } or return;
|
||||||
|
|
||||||
$cart->add(undef, -$pfand, "Pfand");
|
$cart->add(undef, -$pfand, "Pfand");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue