Jump to content

How To Search For All Categories And Not Only Default?


solidbeat

Recommended Posts

Dear Community,

 

I have noticed that the search is only searching (if enabled category weight) for the default category.

 

Is it possible to achieve that the search also search for the other selected categories of a product?

 

Example:

 

Product_Name: Brother TN-242 Toner Black

Product_ID: 1
Product_Default_Category: 
Brother HL-3142 CW
Product_Categories: 

  • Brother HL-3142 CW

  • Brother HL-3152 CDW

  • Brother HL-3172 CDW

  • Brother MFC-9142 CDN

  • Brother MFC-9332 CDW

  • Brother MFC-9342 CDW

If I search for Brother HL-3142 CW the search is able to find the category and the product but if I search for Brother MFC-9332 CDW the search can't find the product or category because it is not set as default.

 

Tried to achieve this on changing the search class but I don't even know which part of the code is responsible for this function. :D

 

Thanks in advance!

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

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...