Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Ensure your search form appends &post_type=product to the URL, like our WC search widget does.

    Thread Starter boriskamp1991

    (@boriskamp1991)

    Awersome!!
    thanks for letting me know Mike!

    I got stuck on how to add this to the url though, any ideas?

    Thread Starter boriskamp1991

    (@boriskamp1991)

    Nevermind!

    I looked at product-searchform.php and adjusted my own so that it appends.
    ended up adding this input field:
    ‘<input type=”hidden” name=”post_type” value=”product” />`

    Thanks Mike!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Search results’ is closed to new replies.