Jump to content

Employees assigned to Specific Product Categories


televi

Recommended Posts

Hello everyone,

 

I was wondering if i can assign employees to specifict product categories?

 

 

When an employee is creating an order for a customer, I want that employee to ONLY search for products in a specific category that the employee has access to.

 

I was able to create customers assigned to specific product categories but i cannot seem to assign employees to specific product categories. 

 

For example right now, if a customer is assigned to product category "tshirts" that customer only sees tshirts, but if an employee tries to create an order for that customer they see "tshirts" "pants" "jeans" etc... i want them to only see the customers assigned category.

 

is this possible to do with prestashop?

 

 

What i tried doing is adding a column in ps_employee called id_default_group and assigned the appropriote group id that i want the user to access.  But i am sure i need some php code so that the employee can only search products in that group while create an order for that customer.

 

 

 

 

Alternatively, in the employee portal - Orders - add new order - the "Search for Products" bar should search for products only related to the previously specified customer and NOT for all products.  It makes no sense for it to search for all products when that customer has no access to those products.

 

Thank you

Edited by televi (see edit history)
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...