Performing Search on Multiple Keywords and Multiple fields



I am working on the search page for a client. The requirements are 

  • The website need to take multiple search terms and return the results that contain all the keywords. So the condition is AND not OR. 
  • The website needs to filter out the products based on who is logged in. We have assigned a customer group to customer. In the product data, we have a meta fields called "Visible To" that will contain comma seperate customer group names. When we perform the search, we need to add a criteria to filter out the products that don't have the current customer group in that meta field. 

Can you please help me understand how to achieve #1 and #2. 



Jul 16, 2014 16:34


You will find answers




Jul 18, 2014 13:06
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.