Developer forum

Forum » Ecommerce - Standard features » Pre-filtered Order list

Pre-filtered Order list

Tomas Gomez
Reply

Hi,

The order list node of the Ecommerce module show all the orders by default. I want to limit this access, so certain users would see only certain orders. For example, a city manager would see only the orders of his city.

Is it possible to pre-filter the order list so only certain orders are shown?

An alternative would be to create a frontend page, but then users cannot take advantege of all the features of the order list of the backend.

Regards,
Tom


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Tomas

You can only use shop and set permission on that. From frontend, you can ensure that orders are put into one or another shop, and then use permissions. Probably a bad solution for you, but the only oprion currently.

BR Nicolai

Votes for this answer: 1
 
Tomas Gomez
Reply

Thanks, Nicolai.

Yes, it is not so good solution, I try to avoid creating shops just for this requeriment.

I solved it on the frontend with Data Lists and a session variable to get the user, but filter options need to be done.

Regards,
Tomas

 

You must be logged in to post in the forum