Product Search & Site Search Keyword

I used to use a product search like this -
<input type="text" name="prop_KeyWords" placeholder="Product Search" maxlength="255" value="{{request.request_url.params.prop_KeyWords}}" >

But then we want to be able to search by site search keyword too so I changed it to -
<input type="text" name="prop_SiteSearchKeywords" placeholder="Product Search" maxlength="255" value="{{request.request_url.params.prop_SiteSearchKeywords}}" >

Problem is that now it won’t display searches for keywords in the title/description. Is there anyway to be able to search both at the same time ie title/description and site search keywords?

The prop_KeyWords should search within Name, Description and Site Search Keywords fields.
I tested this recently with Custom Modules and it seemed to work.
Might need to re-index the site or Products module if it’s not picking up those keywords perhaps?

@Adam.Wilson just so you know, support have confirmed that it is a bug. They will possibly fix it after the v5.5 release. Then the name=“prop_KeyWords” will search for (Name/Description/SiteSearchKeywords).

1 Like