- joey santiago
Total Posts: 76
i am trying to get a custom order grid that should help me showing only some orders to a user, especially only the ones that have the products they are allowed to see.
i have 10 manufacturers. Each one of them can access, modify and create his own products. They should of course see only the orders that contain their products.
I modified /app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php in order to get the logged user role. I should then open all of the orders in my collection getting the ones in which i have the correct products…
how would i get this?