fixed last problem. cart works !!!!
This commit is contained in:
parent
e3be583b20
commit
b90a8437a7
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ If specified may increment quantity by more than one. Specify a negative number
|
|||
sub incrementQuantity {
|
||||
my ($self, $quantity) = @_;
|
||||
$quantity ||= 1;
|
||||
my $id = $self;
|
||||
my $id = id $self;
|
||||
if ($self->get("quantity") + $quantity > $self->getSku->getMaxAllowedInCart) {
|
||||
croak "Cannot have that many in cart.";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue