taxonomy filter given no results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support taxonomy filter given no results

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11753
    bousso
    bousso
    Participant

    my friend , I have one thing I can´t fix. I have the “menu vestuario” this is one search for clothes , I want to only search in some category of woocommerce , so I go to “advanced options-exclude results- Include post s – then I select “one term “of woocommerce categories taxonomy , now I have “vestuario” and I have like 12 dresses on that woocommerce category , it gives no result.

    http://multi.smarto.cl/vestuario-resultados/

    Is multisite and the categories are the same on all sites.

    #11767
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    On a multisite it is not possible to filter via categories, because the categories (terms) are actually not the same – they all have different IDs on each site.

    Because there is nothing in the ‘vestuario’ product category on the current site, the plugin returns 0 results: https://i.imgur.com/ApSfHjw.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #11768
    bousso
    bousso
    Participant

    so plugin serach on categories id no in cateeriest meta value right? so If can make all sites categories to be same id it should work?

    #11769
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Yes, because posts (and post objects) are connected to categories via IDs only. It is not possible to make a relation only based on category names or titles, because category names can be duplicates – therefore it is not distinctive.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.