Forums Forums Search & Filter Pro Loading results in same page

Tagged: 

Viewing 10 posts - 1 through 10 (of 14 total)
  • Anonymous
    #197295

    Hello !

    I use the module with woocommerce, and I have two categories that I want to display separately, with different filers. I’ve created two taxonomy templates, and put a different shortcode in each.

    The filter results are diplayed on the archive template, and I therefore loose my template-specific data (different filters for each category). I tried activating the “custom” otpion on the display results settings and entering my page’s URL but I couldn’t make it work.

    Here’s my category page :

    Anonymous
    #197297
    Trevor
    #197303

    I think you would need to make one form, using the WooCommerce method and have all the filters on it, but hide filters depending on the page in use.

    Use CSS to do the hiding, and I think each of your pages will have different classnames on the body tag to allow you to differentiate the CSS.

    You would have to have the form set to autodetect the category of the page (and so category has to be a field on the form also (even if also hidden) and also use the option to stay within the taxonomy archives of WooCommerce.

    Anonymous
    #197305

    I hadn’t thought of that, however if I can load the result in the same page is still works better for me, because by calling to the archive template it also changes the category title on the page, as well as other info.

    Trevor
    #197309

    Do you require any further assistance from me on this matter?

    Anonymous
    #197315

    Yes, if you could walk me through on how to set up the plugin to have the results loading in the same page ? Do you need access to the backoffice / files ?

    Trevor
    #197321
    This reply has been marked as private.
    Anonymous
    #197323

    Yes that did it ! The only thing is it makes the category description disappear, do you know why ?

    Trevor
    #197326

    Does it disappear when the page loads, or after a search (using Ajax) is made?

    Anonymous
    #197328

    After the search

Viewing 10 posts - 1 through 10 (of 14 total)