• Resolved CrazySerb

    (@crazyserb)


    For whatever reason, the “Search Orders” search box in WooCommerce -> Orders section is a little busted, if you will.

    When first loaded, the form lists this as one of the hidden fields, correctly set to search “shop_order” types:

    <input type="hidden" name="post_type" class="post_type_page" value="shop_order">

    But if you search for anything, on reload (when showing results of any sort) that same form defaults to this:

    <input type="hidden" name="post_type" class="post_type_page" value="post">

    So if you try searching again from the same form, it will bounce you over to Posts instead of staying within Orders.

    Weird.

    Might need fixing, if you ask me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,


    Link to image: https://d.pr/i/AKihnq

    I tested and could not replicate this on my site. The next option now is to see why it does not work on your site.

    This is likely caused by a conflict with your theme or with another plugin. Please create a staging site and if you can replicate the issue, run conflict test to identify the plugin or theme that is causing this issue.

    You can read more about testing conflicts here.

    Thread Starter CrazySerb

    (@crazyserb)

    We figured it out – conflict with our current theme, so we are writing a workaround with that.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order search form not working as it should…’ is closed to new replies.