There is no Pfand.

This commit is contained in:
Juerd Waalboer 2013-02-28 13:36:00 +01:00
parent 8a18ac38c6
commit 3c2fc67c9e

View file

@ -40,7 +40,7 @@ sub hook_add {
return if exists $item->{is_pfand};
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");
}