Shop Categories

X

Reply To: SearchBox

Home Forums Agama Pro SearchBox Reply To: SearchBox

#20543
Nick Simpson
Participant

To get the Agama Pro magnifying glass to use WooCommerce Product Search my amazing developer implemented a temporary fix, which will be overridden when the Agama Pro plugin updates.

Here’s the fix:

Open up class-agama-helper.php, find the function get_search_box function () and within the form it creates add:

$output .= ‘<input type=”hidden” name=”post_type” value=”product”>’;

Zex, any chance of passing this info to your developers? Be great if this code could be activated within your plugin settings.