LayersPro – Change the search button function?
I have LayersPro & Woocommerce installed and i was looking at the Search option
i enabled it and it gave me a search icon in the menu bar , now when i try search a product it gives me a blog post page.
is it possible to change the function from blog post to woocommerce products?
i really like the design of this search function thats why i would like it.
Possible Answers to Your Question:
WooCommerce has a proprietary search just for products – Layers Pro uses the core WordPress search which only knows how to search it’s default content types. You can find plugins that will add custom post types to the default search, allowing it to also search products. I would recommend that over attempting to change the search functionality. To do that you would need a child theme, and then a custom function that loads your custom version of that search or filters the code in Pro (I can’t even guarantee that is possible as I haven’t tried it).