• Resolved sigrundish

    (@sigrundish)


    Hi,
    The search doesn’t work on my page for custom taxonomies.

    For example, if I search for the brand Nike, I can see the correct amount of results in the parentheses behind Nike in the dropdown option that appears, then when I click on the option the URL changes to: …/shop/?brand=nike

    But the page shows all of my products. The query parameter doesn’t work.

    I’m using BeRocket Ajax Filters. When I filter by brand the URL is: …/shop/filters/brand/nike/

    How do I fix it? So the search works for custom taxonomies? It works fine for product categories.

Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    I believe something is wrong with your site’s permalink structure.

    Speaking about blog posts – is this default post type or you create some custom post type for this? Or maybe you somehow change the permalink structure of that default blog posts?

    Thread Starter sigrundish

    (@sigrundish)

    @mihail-barinov do you know how we can fix it? So it works both for the search and our blog posts?

    Best regards,

    Thread Starter sigrundish

    (@sigrundish)

    What, I didn’t see you reply until I posted my last comment, I have been refreshing this thread regularly the last three weeks ??

    For our blog posts we are just using the default post type.

    Can we not edit the premalink only for the search results, without it overwriting premalinks for the blogposts?

    Plugin Author ILLID

    (@mihail-barinov)

    Well the ‘hacky’ way is to directly change product taxonomy URL before displaying it inside plugin search results.

    For doing this you can use aws_search_tax_results filter and then inside the returned array modify the ‘link’ parameter for needed taxonomy.

    Regards

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Query parameter added after searching not working’ is closed to new replies.