Forums Forums Search & Filter Pro Using search and filter with WooCommerce Shortcode not working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Anonymous
    #245745

    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

    Anonymous
    #245746
    This reply has been marked as private.
    Trevor
    #245874

    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.

Viewing 3 posts - 1 through 3 (of 3 total)