• Hi,

    We are using your plugin on our website and it’s been great to use. However, when we use the product name filter, it only shows products from the selected categorie on the search page, even though it will show all related products in the dropdown. Is there a way that all those options also show on the results page?

    For example, if you search for “Spiegel” you’ll see 6 products in the dropdown, but when you just search for spiegel the result will only show the option that is in the category, for example, in the presale category, only one item will show. However, when people use a search box we want them to see those 6 options in the result page. Is there a way around this?

    I hope this was a bit clear, explaining this in English might not be the easiest.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author themifyme

    (@themifyme)

    Hi,

    On the relation between taxonomies (https://share.zight.com/YEubQOdD), do you have “OR” selected?

    Thread Starter bieke81

    (@bieke81)

    We do, yes.

    Plugin Author themifyme

    (@themifyme)

    Just confirmed with our dev. If you are on product category view, it will filter within that category. That is why it only return 1 product if you search on that category view.

    You can add the following Javascript before closing </body> to achieve what you want:

    <script>
    let forms = document.getElementsByClassName('wpf_form');
    for ( var i = 0; i < forms.length; i++ ) {
    let input = forms[ i ].querySelector('input[type="hidden"][name="wpf_cat"]');
    if ( input ) {
    input.remove();
    }
    }
    </script>
    • This reply was modified 2 months ago by themifyme.
    Thread Starter bieke81

    (@bieke81)

    Hi,

    Thank you for your reply. I tried the code, but it doesn’t seem to do anything at this point.

    Plugin Author themifyme

    (@themifyme)

    Where did you enter the code? Please check if the code is being output on the page.

    Your site seems to be broken now, so we can’t check it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.