apply treatment for append and newness when adding item to cart
This commit is contained in:
@@ -26,6 +26,11 @@ class CartItem extends BaseCartItem
|
||||
}
|
||||
}
|
||||
|
||||
public function addQuantity($value)
|
||||
{
|
||||
$this->setQuantity($this->getQuantity() + $value);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user