Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Woocommerce category page live search
This topic contains 2 replies, has 2 voices, and was last updated by dangoren89 2 years, 6 months ago.
- AuthorPosts
- November 16, 2020 at 1:32 pm #30301
Hi,
I wonder if you can help me again.
I’m trying to get Ajax Search Pro to operate live filtering in Woocommerce Categories following the instructions at https://documentation.ajaxsearchpro.com/elementor-integration/custom-results-page-with-elementor-pro I have been able to insert the search into an Elementor Product Archive template and applied that template to the following category: https://composersedition.com/other/ however the results don’t filter when searching. My setup is:
In elementor:
The products element has the correct css class asp_es_4
The shortcode element has the correct shortcode [wpdreams_ajaxsearchpro id=4]
Content > Query is set to Current QueryIn the Ajax search instance:
The page with Elementor Pro posts widget is set to the correct elementor product archive Categories DefaultI wonder if the issue is with the Results container jQuery element selector? I’ve tried changing this to #content as my theme doesn’t have a #main, but no joy.
I can get the search to work, but only if I change the Elementor product element query source to something other than “Current Query” which suggests that it won’t work for categories. Is this the case? Might it need additional programming?
Any help much appreciated.
Dan Goren
November 16, 2020 at 1:44 pm #30303Hi Dan,
As a reference to your previous query, it is unfortunately not going to work on archive pates, it is not possible. There are too many conflicting queries. It definitely needs more custom coding, but I am not sure if I can recommend that – it might get very difficult.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 16, 2020 at 2:42 pm #30304Ok, thanks Ernest.
Dan
- AuthorPosts
You must be logged in to reply to this topic.