- This topic has 2 replies, 2 voices, and was last updated 5 years, 10 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Using search and filter with WooCommerce Shortcode not working
Hi,
We are using the WooCommerce shortcode [products] on our page as oppose to assigning the shop page in WooCommerce Settings as this allows for more customisation for the rest of the page.
However when we add in the Search and filter widget via shortcode in our sidebar it always re directs to the actual shop page which is assigned when we select a product.
How can we get the Search and Filter Plugin to work with WooCommerce Products as a shortcode as this isn’t in your documentation.
I have attached a link to the page in a secure note below.
Many thanks
Kyle
You would not be able to use the WooCommerce method. Instead, use the Custom method. You will need to provide the FULL URL for the results page. The Ajax Container is likely to need to be .products
Immediately before the [products] shortcode, you would need an additional shortcode:
[searchandfilter id="1234" action="filter_next_query"]
(change the ID number for that of your form).
Note, some page builders have shortcode widgets, but we have found it best to place this shortcode in the Text only tab of a text widget.
This method might work.