Jump to content

Override ProductSearchQuery with your own table Prestashop 1.7


Makwod

Recommended Posts

Hi,

is it possible to make an override with your own custom table?

I need to make an inner/left join with my custom table 

id_product

Id_group

So i can hide some product for some Users. 

I know is possible to override getProducts in Category.php but with Facet Search is not being called.

There are any example for override ProductSearchQuery ?

Thanks

Edited by Makwod (see edit history)
Link to comment
Share on other sites

  • Makwod changed the title to Override ProductSearchQuery with your own table Prestashop 1.7
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...