Home Forums WoodMart support forum search and carousel bug Reply To: search and carousel bug

#470449

izabel.stolarska
Participant

Hello.

My name is Milen and I am working with Izabel.

The problem exists only on the desktop version and is due to the option to select a product category.

When we search for a product and click “Enter” or search without specifying a category, the URL is like “https://new.amigobg.com/?s=radiator&post_type=product&product_cat=0”

If we specify a category and then click “Enter” or search, the URL is like “https://new.amigobg.com/?s=radiator&post_type=product&product_cat=otoplitelni-tela”

In both cases, we got a 404 error page.

However, if we remove the parameter “&product_cat=XXX” we see the search result page.

Can we completely remove the “category” option from the search widget and remove its parameter from the search results URL via code in functions.php?

Please advice.