VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: Mister Paul on October 10, 2018, 06:01:43 am

Title: Joomla article displayed only for selected Shopper Group clients?
Post by: Mister Paul on October 10, 2018, 06:01:43 am
Hi,

Is it possible to give access to some Jooma articles only to Virtuemart clients from selected Shopper Groups ?


Thanks for your help
Paul
Title: Re: Joomla article displayed only for selected Shopper Group clients?
Post by: Jörgen on October 11, 2018, 13:33:35 pm
https://docs.joomla.org/J3.x:Access_Control_List_Tutorial (https://docs.joomla.org/J3.x:Access_Control_List_Tutorial)

Jörgen @ Kreativ Fotografi
Title: Re: Joomla article displayed only for selected Shopper Group clients?
Post by: Mister Paul on October 11, 2018, 14:26:11 pm
Thanks Jörgen

But I can't see there how Virtuemart Shopper Group could be involved in the Joomla Access control...
 :-[


 Am I missing something?
Title: Re: Joomla article displayed only for selected Shopper Group clients?
Post by: Studio 42 on October 11, 2018, 14:33:28 pm
Shopper groups are unknow by Joomla articles, so it's not possible to set it.
You should switch virtuemart shoppers in the right Joomla group manually or create a plugin to autosiwtch this shopper in the right user groups so you can use Joomla ACL to restrict display for this shoppers or create a plugin to control the shapper group when ACL restriction is set for your articles.