Site logo

Archived topic

Change woocommerce search

4 replies · Started by Leonardo on June 24, 2022

Viewing posts 1–5 of 5

Hi!

I would like to know if it would be possible to edit the default woocommerce search to a Marketer theme style. That is, display only a magnifying glass and, by clicking on it, open a search box to enter information.

Basically, the Generatedpress theme search is in this style I'm talking about. However, the woocommerce one doesn't = /

My site is http://formuladiecast.leonardomarioto.com

Thanks!

Hi Leonardo,

Unfortunately that's not possible without a custom solution to modify the output of WooCommerce search.

Sorry about that!

I found this possible solution:

"You'll need to change your theme's template (or override it in a child theme) to find the form's html and include <input type="hidden" name="post_type" value="product"> inside the <form> element ."

If possible, I could use the Generatedpress search icon (only icon, as I want) and then, when searching for Generatedpress, return to the products page.

Forget it, I already found a solution.

Thanks.

Glad to hear :)

This archived topic is closed to new replies.