Search Form in Header - by Hoellwarth - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 9 years, 3 months ago ago by Robert Hall

  • Avatar: Hoellwarth
    Hoellwarth
    Participant
    August 4, 2015 at 21:17

    Hi there,

    When I search something trough the search form placed in header, the website returns, as result, both products and articles containing the word (or part of it) I wrote. i.e.: if I search “divan” I get both products which title contains the word “divan” but even all the products that have the word “divan” in the description, misleading the user’s search.

    So my questions is: is it possible to avoid the search form to look into products’ description but just in product title and brand?

    Thank you in advance for your kind reply.

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 5, 2015 at 08:35

    Hello,

    Unfortunately there is no such possibility. Sorry.

    Regards,
    Eva Kemp.

    Avatar: Hoellwarth
    Hoellwarth
    Participant
    August 7, 2015 at 12:35

    Well I bet there was no possibility to do it easily, that’s why I asked your support. However, can you kindly tell me which file and functions regulate the header search form, please? I’ll take a deeper look in it.

    Regards.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 7, 2015 at 13:05

    Hello,

    You can check the following files.
    – \themes\royal\searchform.php
    – \themes\royal\woosearchform.php

    Regards,
    Robert Hall.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.