Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax Search Pro for WordPress Default functionality support
- This topic has 10 replies, 2 voices, and was last updated 2 years, 4 months ago by
Ernest Marcinko.
-
AuthorPosts
-
January 11, 2024 at 7:10 am #46567
wdp
ParticipantHello Support,
We are using Ajax Search Pro for WordPress in one of our website here : https://www.update.loislee.nl/
Website is password protected and you can use it using below credentials
Username : update-loislee
Password : xdkKrnvRkct@12We want to know how we can add below feature from plugin functionality on search result page
– We want to add Result type filter on search listing page. Like On search listing page how many Products, Blogs, Vidoes etc.. and user can filter particular items on this search list page. Like as per attached screenshot
– How can we add sort option on search listing page.Here, we just want to know how can we configure above mentioned functionality from backend.
Thanks.
January 11, 2024 at 6:21 pm #46574Ernest Marcinko
KeymasterHi,
I believe you are looking for the front-end filters section here.
In your case I would suggest creating a sidebar and placing the search and the settings shortcodes there. You can also pair it with the results page live loader feature, so when you change the filters the results page reloads on the fly as well.
Unfortunately front-end sorting options are not available yet.January 12, 2024 at 8:41 am #46582wdp
ParticipantHello,
Thanks for your response. Please find below my update.
https://www.update.loislee.nl/?s=magic&asp_active=1&p_asid=2&p_asp_data=1&customset%5B%5D=post&customset%5B%5D=product&filters_initial=1&filters_changed=0&wpml_lang=nl&qtranslate_lang=0&woo_currency=EUR¤t_page_id=82610
Username : update-loislee
Password : xdkKrnvRkct@12This is our search result page and we want here sidebar with result type Like post type (Product, Blog etc..) checkbox. So if user tick on “Product” checkbox then search result page will display only products from search result.
From your response, we are not able to know which shortcode we need to use for such things. Please let us know if you require backend details to setup it up.
Thanks.
January 16, 2024 at 3:08 pm #46619wdp
ParticipantHello Support Team,
Please check our last message and give your response on same. We are waiting feedback from your end.
Thanks.
January 16, 2024 at 4:28 pm #46621Ernest Marcinko
KeymasterI’m sorry for the late response.
I would suggest using the regular search shortcode, and also setting the search settings drop-down to visible and block by default.
Make sure to also check out the search settings documentation on how to create specific filters.January 17, 2024 at 8:56 am #46631wdp
ParticipantHello Support,
We have followed steps you given but it is showing result type on main search bar like as per attached screenshot.
But we want Result type search bar on search listing page here : https://www.update.loislee.nl/?s=magic&asp_active=1&p_asid=2&p_asp_data=1&customset%5B%5D=post&customset%5B%5D=product&filters_initial=1&filters_changed=0&wpml_lang=nl&qtranslate_lang=0&woo_currency=EUR¤t_page_id=-1
So please note : This search filter result type need to be on search listing page so please guide us accordingly (not on main search box).
January 17, 2024 at 10:23 am #46639Ernest Marcinko
KeymasterOh okay, I see.
In that case I suggest rather creating another search instance as well (you can duplicate the first one for ease of use) to have some separation. On the header search remove the settings as you don’t need that.
Then place the second search bar into a sidebar position on the results page. Check the theme builder/editor if it offers any sidebar widgets, usually modern themes allow adding another column where you can put any shortcode or widget and place the second search shortcode there.
This way you will have the header search separately configured and they will not conflict.
January 18, 2024 at 3:51 pm #46648wdp
ParticipantHello Ernest,
We have duplicated search instance and keep our settings for that search instance and removed our settings from header search instance. You can see it here : https://www.update.loislee.nl/?s=magic&asp_active=1&p_asid=2&p_asp_data=1&filters_initial=1&filters_changed=0&wpml_lang=nl&qtranslate_lang=0&woo_currency=EUR¤t_page_id=82610
But our problem is bit different. in above link you can see when we unchecked “Posts” from search box then result of only products will display in search box itself. while we want result of products need to be updated in our search result.
For example : screenshot-1.png : We want like this way. when we uncheck “Posts” then our search result should update with only with Products in result listing.
and screenshot-2.png : Currently it is updating result in search box it self which we do not want.
So please guide us accordingly so that our website search result get updated based on result type selected and not search box show those result.
January 19, 2024 at 10:03 am #46666Ernest Marcinko
KeymasterI see, then you are looking for this feature.
Based on your exact page structure, this is the configuration that may work: https://i.imgur.com/xPkKgIx.png
For the DOM selector use:#posts-containerJanuary 23, 2024 at 10:42 am #46707wdp
ParticipantHello Support Team,
Thanks for the help and update. One more query
https://www.update.loislee.nl/?s=magic&asp_active=1&p_asid=2&p_asp_data=1&filters_initial=1&filters_changed=0&wpml_lang=nl&qtranslate_lang=0&woo_currency=EUR¤t_page_id=103307On this page left sidebar, we are displaying Result Type and there will be Products & Posts with checkbox. Can we display count of particular Products or Posts there? Please find attached screenshot
January 23, 2024 at 12:43 pm #46712Ernest Marcinko
KeymasterYou are welcome!
I’m afraid that is not possible, I’m sorry.
-
AuthorPosts
- You must be logged in to reply to this topic.