The forums are closed and will be removed when we launch our new site.
Looking for support? You can access the support system via your account.
Forums › Forums › Search & Filter Pro › Filter on EDD Search Results
- This topic has 60 replies, 3 voices, and was last updated 8 years, 5 months ago by Ross.
-
Adam Wolff(Private) April 1, 2016 at 5:59 pm #41290
I now have Search & Filter Pro π
What code do I need to put into the search.php so that the search results show categories with a number next to it in brackets showing how may items are in that category – therefore allowing the user to refine their search by category?
Thanks
AdamTrevor Moderator(Private) April 1, 2016 at 6:11 pm #41292Hi Adam
Please take a look at this:
http://sandfdev.cdnwebservices.net/shop/
That is using WP 2015 Theme, no special coding. I can tell you how or show you (on Skype)?
Adam Wolff(Private) April 1, 2016 at 6:50 pm #41294Hi Trevor,
More like the example on the Woocommerce site – I would like the categories listed, and in brackets the amount of items that sit in that catergory – allowing the user to select the category and further refine the search.
This appears on the search results. That way the user is controlled to run a general search first, then they further filter their results.
Adam
Adam Wolff(Private) April 1, 2016 at 7:12 pm #41295..ok so I worked out how to show the categories on the search results page – but when I select one of the categories to further filter the results – how do I get it so that the results are shown the same way as the original search results?
Adam
Trevor Moderator(Private) April 1, 2016 at 7:20 pm #41301What Display result method did you use? Did you follow the instructions for using with EDD?
http://www.designsandcode.com/documentation/search-filter-pro/3rd-party/easy-digital-downloads/
On the page that I made, it has this, to give you an idea of what to put there!!
<div class="edd-search-form">[searchandfilter id="42"]</div> [searchandfilter id="42" action="prep_query"] [downloads columns="2"]
Trevor Moderator(Private) April 1, 2016 at 7:22 pm #41303That’s why I suggested using skype, together we could quickly check the settings using share screens.
Trevor Moderator(Private) April 1, 2016 at 9:01 pm #41309I havenβt used the search form from S&F initially but the WordPress one with Relevansi β will that make a difference?
I suspect that you will need to make one in S&F.
Adam Wolff(Private) April 1, 2016 at 9:31 pm #41314Ok – I have a search bar in the top right of the page – and another search bar that is used from a template – and a search bar this is shown on the results page. If these will all need to be replaced by an s&F search I need help doing so.
Before I purchased the plugin I asked the following;
Pre-Sales Question;
Hi β I am using Cr3ativβs Squarecode theme with EDD plugin. I would like to provide the option to filter the search results page once the initial search has run.
So can I simply add code to the search.php that will enable the user to filter the results further by category for example with a live count in brackets next to it?
And what code would I add?
Thanks
AdamMarch 29th, 2016 Reply
Ross
Sure you can do this β you would need to add a shortcode to display your search form (created in admin β drag n drop) β and then depending on your setup, we might need to add 1 line of code before the
have_posts
in your search template β we can assist over on support β https://support.searchandfilter.com/forums/forum/search-filter-pro/support/ πSo I’m hoping it is pretty straight forward!
Adam
-
AuthorPosts
The topic ‘Filter on EDD Search Results’ is closed to new replies.