Skip to content

Commit

Permalink
Merge branch 'add-custom-properties-to-cart-item' of github.com:dblai…
Browse files Browse the repository at this point in the history
…chinger/ecommerce-framework-bundle into add-custom-properties-to-cart-item
  • Loading branch information
dblaichinger committed Dec 15, 2023
2 parents 760eb0b + 733a6c6 commit 5e9bfb1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/CartManager/AbstractCart.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ public function updateItem(string $itemKey, CheckoutableInterface $product, int
$item->setSubItems($subItems);
}

if (!empty($params)) {
$item->setCustomProperties($params);
}
$item->setCustomProperties($params);

$this->items[$itemKey] = $item;

Expand Down

0 comments on commit 5e9bfb1

Please sign in to comment.