Author Topic: Category visible only for presetted users groups  (Read 194 times)

ermes

  • Beginner
  • *
  • Posts: 42
Category visible only for presetted users groups
« on: October 17, 2018, 18:53:32 pm »
How can i set as displayable a category to a single user group?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8433
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Category visible only for presetted users groups
« Reply #1 on: October 17, 2018, 19:52:38 pm »
if not so many products set each product to that SG in the product admin and set cats not to show if no products?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ermes

  • Beginner
  • *
  • Posts: 42
Re: Category visible only for presetted users groups
« Reply #2 on: October 18, 2018, 10:50:34 am »
I can't do it. It's too many products for category.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3466
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Category visible only for presetted users groups
« Reply #3 on: October 18, 2018, 10:58:28 am »
You can do it with a plugin to redirect user having no right to display some categories, but the problem is on search for product too, you have to redirect  productdetails for all products included in this category and how to remove it from list on search, in modules ... ?
So this need to use a product model override too. Not a little work