Maybe this is simple but I have problem with this. How to access to element _products. This is Prestashop 1.6
public function hookActionOrderStatusUpdate($params) {
$a = $params['cart'];
}
This is output of $a
Cart Object (
[_products:protected] => Array ( [0] => Array ( [category] => plany
echo'<pre>';print_r($a);echo'</pre>';
then you will see its structure.