1

I'm having a hard time debugging this problem. I developed this site (TiltonTrailers) in WordPress about 4 months ago. I used our company's custom theme on it.

Basically, it is an e-commerce site with a lot of search functionality. I remember that all the search field was 100% working before. The client emailed us about regarding a bug in the category filter on the header. It's just a WordPress search form, no ajax functionality.

Search by Category field

Every time a user will search a category, extra xand y parameters are present in the URL. If I remove those extra parameters, product results will display on the.

Extra URL Parameters

On the homepage of the site, there's an inventory search which uses the same WordPress search form and it is working properly.

Homesearch

Can anybody help me with this?

Thank you in advance.

Tibs
  • 735
  • 5
  • 16
  • 3
    I suspect what you're seeing are the x/y parameters added to a form submit when using an ``. Here's an answer on how to remove them: https://stackoverflow.com/questions/801702/how-to-remove-x-and-y-on-submit-in-html-form-with-image-type-button – Pat Feb 21 '18 at 20:21

1 Answers1

3

I changed your search button type from image to submit and it worked. So change it and try.

Beso Kakulia
  • 556
  • 4
  • 13