Forums › Forums › Search & Filter Pro › Where are the Integration notes for EDD as of version 2.5.1
- This topic has 7 replies, 3 voices, and was last updated 4 years, 5 months ago by Trevor.
-
Trevor(Private) May 20, 2020 at 10:51 pm #245194
We have revised our documentation:
https://searchandfilter.com/documentation/3rd-party/easy-digital-downloads/
Anonymous(Private) May 21, 2020 at 12:12 am #245206Hi Trevor,
Sorry, this doesn’t work, because I’m not using the EDD shortcode to load my store page. I’m using a plugin called ElemEDD, which provides an Elementor widget to load the Store page – it does not offer a way to modify the shortcode. This plugin makes the styling of the store page and items much more manageable – I don’t want to lose it.
There are at least two other plugins I’ve seen which provide EDD Downloads in an Elementor widget, and I suspect they might have the same problem, though I haven’t tried them. There may be more.
I’m also using your Elementor extension for S&F Pro, so I would hope that you’d continue your support for Elementor users, including those of us who use Elementor for EDD functionality.
I’m willing to use an alternative method for the “Display Results” parameters to make S&F Pro work again (or some other tactic), if you can explain it clearly, and it’s not too onerous.
I’m also willing to continue using S&F V2.5.0 until you can resolve this gracefully, unless you tell me there’s some problem with that.
Please advise!
Thanks,
Howard
Trevor(Private) May 21, 2020 at 11:58 am #245295Still use 2.5.1, but you may need to try without the new extension. Set it is EDD display results method.
Put the form on the page (using a widget or shortcode).
You will likely have the downloads as a widget of some form.Add a text widget just before the downloads widget. Switch the Text Widget to Text only mode and enter a shortcode like this (change the ID to match that of your form):
[searchandfilter id="1234" action="filter_next_query"]
This shortcode does not output anything on the page, so the text widget will appear empty. all it does is ‘link’ the form to the results/posts/downloads widget. I hope.
Anonymous(Private) May 24, 2020 at 1:40 am #245649Thanks, Trevor, your suggestion seems to work.
I’m still using your Elementor extension, so I’m putting the search form on the page with an Elementor widget.
I’m also still putting the EDD downloads on the page using the ElemEDD plugin, instead of a shortcode.
I’ve added an Elementor widget to contain the shortcode you specified above (with filter_next_query), just before the search form, and that alone seems to make it all work again. I’m adding your shortcode using an Elementor shortcode widget, not a text widget, by the way, but that doesn’t seem like it should matter much.
I’m actually putting TWO sets of downloads on the page, using two different ElemEDD widgets (they’re filtered differently, based on tags.). I found that I need to add your filter_next_query shortcode just before the second set is displayed as well (though I am only using one search form at the top of the page, not two), in order to have it also be filtered by S&F Pro.
So as far as I can tell, this is a solution, and not terribly complicated. But it does feel a little inelegant – I’ve had to add non-intuitive elements to my page, to work around a change that occcurred between S&F Pro versions 2.5.0 and 2.5.1. Not a big problem, but if you had a way of making this unnecessary, perhaps in a future version of your own Elementor support plugin, or a revison to your integration with EDD, it would feel better. Just a thought.
Thanks for the good support!
Cheers,
Howard
Ross Moderator(Private) May 25, 2020 at 10:12 am #245697Hi Howard
If you’re trying to display EDD downloads, but don’t have access to the shortcode used itself, then before each download widget, you need to put the
filter_next_query
shortcode with the correct Search & Filter ID.We removed that from the docs, without taking into consideration your use case, so I’ll be putting that back in as an alternative implementation.
Something to note, for some reason in the past, when we used an Elementor shortocode widget, our
filter_next_query
shortcode wouldn’t run… it was strange, I’m not sure that’s still the case but we generally recommend to use a text widget at least for testing.I think that covers everything, unless there is something different happening in your setup that I didn’t quite catch?
Thanks
-
AuthorPosts