Jump to content


Photo

Hide products for some groups of customers


  • Please log in to reply
1 reply to this topic

#1 KoRn

KoRn

    Advanced Member

  • Members
  • PipPipPip
  • 31 posts

Posted 07 November 2017 - 12:12 PM

Hello, We are usin Presta 1.6.1.11 and want to show products depending on client group (exeample "distribuitors"). If a distribuitor client log in, he only will see a selected products with special discount. Also when searching with prestashop search module, only should show products visible for his group. Is this possible with your module? Is your module overriding or works with new classes. Thanks,

i reffer to Prestashop Access to Products



looking for the best presta addons with outstanding support? check this: PrestaShop Modules

#2 vekia

vekia

    Advanced Member

  • Members
  • PipPipPip
  • 10166 posts

Posted 07 November 2017 - 12:13 PM

Hello

 

Is your module overriding or works with new classes. 

 

 

Withour overrides it is not possible to hide products in the way you expect. so Module applies two overrides

  1. class: Shop.php override - to hide product on search results, category view, module products list feeds etc.
  2. class: Pack.php override - to hide / show (for user group) product in packs

 

. Is this possible with your module?

 

 

i confirm - it is possible.

 

best regards,

milos


free tutorials, free templates, free addons, prestashop modules MndfRK4.png  lpHMrZ5.png  gtKHYO7.png  google-48.png