Order search form not working as it should…
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Order search form not working as it should…’ is closed to new replies.