Skip to content

Commit

Permalink
Update CartItem.php
Browse files Browse the repository at this point in the history
  • Loading branch information
FutureFutureTo authored Aug 23, 2018
1 parent 7ff157b commit 9a69a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CartItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function updateFromArray(array $attributes)
$this->priceTax = $this->price + $this->tax;
$this->options = new CartItemOptions(array_get($attributes, 'options', $this->options));

$this->rowId = $this->generateRowId($this->id, $this->options->all());
$this->rowId = array_get($attributes, 'rowId', $this->rowId);
}

/**
Expand Down

0 comments on commit 9a69a21

Please sign in to comment.