Jump to content

Restrict Order Status Based On Employees Profile


tapukatata

Recommended Posts

  • 4 weeks later...
On 12/8/2019 at 2:49 AM, tapukatata said:

I want to disable/hide some Statuses for Employees Profile. Anyone could help me with that?

I am using Prestashop 1.7.3.0

I don't believe there's a built in way.

You could modify the function that gets the available order statuses to filter them based on the restrictions you need.

This requires some coding knowledge.

The function that get the order statuses is in /classes/order/OrderState,php, and the function is getOrderStates()

You would need to pass to that function the employee ID or group, and show only the statuses you wish

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...