VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: jlabuelo_sm on August 28, 2018, 11:29:06 AM

Title: Users with access to Confirmed orders only
Post by: jlabuelo_sm on August 28, 2018, 11:29:06 AM
Hello
We are checking Virtuemar as an option to our online store. I have a question a feature that dont know if it is possible to configure with Virtuemart somehow. We would need to have to "admin rights" for the users that will control the backed of our online store.

a) Users with access to all Virtuemart Configuration
b) Users that will access only the order list,  and also to list the orders that are "Confirmed".

Is it possible to get somehow option b), even with custom coding?

Thanks a lot!
Title: Re: Users with access to Confirmed orders only
Post by: GJC Web Design on August 28, 2018, 11:34:08 AM
There is full fine grained admin access control standard in VM

https://docs.virtuemart.net/manual/general-concepts/185-administrative-frontend-access-with-acl.html
Title: Re: Users with access to Confirmed orders only
Post by: jlabuelo_sm on August 28, 2018, 11:52:00 AM
Great!, thanks a lot for the answer!

I have been taken a look to the standard configuration, and I see that i can limit the access of an user to the "Order List" view, however how can I configure it so this user only access "Payed" or "Sent" orders?, I mean configure to access/List orders only depending on the status of the order?

Cheers
Title: Re: Users with access to Confirmed orders only
Post by: GJC Web Design on August 28, 2018, 12:13:52 PM
That I don't know -- never tried...  simplest way is download  http://dev.virtuemart.net/attachments/download/1120/VirtueMart3.2.14_Joomla_3.8.6-Stable-Full_Package.zip

install and play
Title: Re: Users with access to Confirmed orders only
Post by: Studio 42 on August 28, 2018, 12:42:01 PM
I dont think that you can restrict directly in the core some order status for a group of user.
You can use a vmextend plugin for eg and customize it for you case, but it's a big work, if you dont know Virtuemart and joomla coding. The advantage is that you can add then additional controls only for it and set the allowed orders status.