Just to make sure I understood correctly, I think you're referring to the backend page where the agent is editing the order correct?
Would it work for your needs if we simply removed the agent options such as "order actions", "update", etc, so they can view it, but not edit it in any way?
how can I avoid that the sales can edit their orders? But still see the orders grid
Hi Gennaro,
It's possible to remove the 'manage order' button, by adding the following PHP code snippet to your site:
Let me know if that can solve it for you,
Kind regards,
Stefan
i'm sorry, but the the request is to let the agent to see the order details page, but don't let him to edit the order.
I tried with the plugin user role editor but it seems to not have any effect
Attached files: Screenshot 2024-03-19 alle 10.30.19.png
Just to make sure I understood correctly, I think you're referring to the backend page where the agent is editing the order correct?
Would it work for your needs if we simply removed the agent options such as "order actions", "update", etc, so they can view it, but not edit it in any way?
Kind regards,
Stefan