Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #604169

    I am not very experienced so please excuse my ignorance. At present the search function is set-up to search within the Enfold website. However I would like when a person enters something in a search box to go to a different website – sort of a like a back-end on my website. That is where all of our products are.

    My current website at http://www.bw-wholesale.com/ has this search functionality. You can see the results if you try and search a product.

    I want this exact same search feature in my enfold website. Where do I change the search functionality?

    Thanks for your help.

    #604421

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    add_filter('avf_frontend_search_form_param', function($params) {
    	$params['form_action'] = 'http://129554-frv.espwebsite.com/ProductResults/?';
    	$params['search_id'] = 'SearchTerms';
    	$params['ajax_disable'] = true;
    
    	return $params;
    });

    Cheers!
    Josue

    #605565

    Thanks Josue. Sorry but where do I find the very end of the theme Functions.php file?

    #605566

    Open the file and paste the code at the end.

    #605585

    Worked perfect. Thanks so much – you guys are great.

    #605589

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.