Looking for documentation? Take a look on our wiki

Main Menu

How to restrict shopper user to specific category in Virtuemart?

Started by duplexau, June 03, 2022, 05:49:04 AM

Previous topic - Next topic


Hi all,

We have Virtuemart version 3.0 in Joomla 3.9.x
We would like to restrict access for a specific user (or specific user group) to be able to view a specific category, let's say, industrial machines, AND not to view other categories.

Is there any way to accomplish this as a solution?

Suggestion and advice is greatly appreciated.


I am not sure that you could make the restriction on categories. But You can assign your customers to a shopper group called industrial_machines_grp and allow only this shopper group to view these. The secures the industrial_machines products, but you will have to assign shopper groups to the other products to prevent industrial_machines_grp to view the other products.

The rules are by default allowing all, not restricting. I suggest you make a shopper group no_access_grp and assigns this to all your products if you do not want industrial_machines to view them. Then you can unlock products one category at a time by removing no_access_grp and add a new shopper group to each product. Naming the shopper groups with the_category_name_grp will make things easier to remember for future reference.

Hope this helps

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.