Change order item title in cart I would like to update the title of a order item before it's put in the cart to add some extra dynamic info for the user. I tried this but nothing changes.

In the onCartEntityAdd function:

$item = $event-&gt;getOrderItem();

// Some code to check that its the item I wanted then:    

$newTitle = $item-&gt;getTitle() . ' - some extra info';
$item-&gt;setTitle($newTitle);


setTitle call does not seem to do anything, the title in the cart is still just the product name.
The getTitle() call works though.

Thanks for any info.
The problem is probably that you don't save the order item after updating the title.

Add $item-&gt;save(); at the end of your code and it should work.