As I read it lines 73,74 could be reduced to one:

```php
$text = implode(", ", array_map("array_shift", $order_info_long));
```

If we can avoid the nesting of arrays below then we could reduce this to:

```php
$text = implode(", ", $order_info_long);
```