"fieldname_keyword" search

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 18, 2018   (RSS)

By gversion - May 18, 2018

Hello,

I have a fieldname called "product". I am trying to carry out a search on this field using "fieldname_keyword" search type.

I would like the search keyword, "televisions" (plural) to return all products with the keyword, "television" (singular) in their product name.

I am therefore using the following HTML for the input field:

<input type="text" class="form-control" id="search" name="product_keyword" placeholder="Search" style="font-size: 16px;">

However, this only returns listings with the keyword, "television" in their product field. It does not return products with "televisions" in their product field.

I have tried changing the search type to "fieldname_prefix" but this does not return any results.

Can someone please advise?

Thank you,

Greg

By leo - May 18, 2018

Hi Greg,

Can you try fieldname_query? Let me know if it works!

Thanks,

Leo - PHP Programmer (in training)
interactivetools.com