Archive page showing non-relevant items

  • ali.h@sela.ae
    Participant
    10 months, 3 weeks ago #32917

    Hello,

    my problem is that when you visit the Fashion > Men > Clothing category https://selasaudi.com/product-category/fashion/men/clothing-men
    you can see that there are also items from Women and Kids.
    And after trying to figure out why this is happening, I found that it is because the taxonomies have the same names for example:
    Fashion > Men > Clothing
    Fashion > Women > Clothing
    Fashion > Kids > Clothing
    you can see all the last-level categories have the same names so whenever we visit any, we see the search results of all.

    How can we solve this, please advise.

    wpsolr
    Keymaster
    10 months, 3 weeks ago #32918

    Category names must be unique indeed.

    You could rename your categories as “Clothing men”.

    ali.h@sela.ae
    Participant
    10 months, 3 weeks ago #32922

    Is there any solution other than renaming the taxonomy to bypass this for example to use actions and filters as we don’t want to display irrelevant text on the website, as it does not make sense to show “Men Clothing” when I am on the Men Page, I just need to show “Clothing”

    wpsolr
    Keymaster
    10 months, 3 weeks ago #32923
    ali.h@sela.ae
    Participant
    10 months, 3 weeks ago #32924

    Thank you,
    when it is expected to be released?

    wpsolr
    Keymaster
    10 months, 3 weeks ago #32925

    Not soon. This will require a deep refactoring of WPSOLR.

    wpsolr
    Keymaster
    9 months, 3 weeks ago #33236

    Here is a pre-release containing a fix for facet categories matching duplicate names:
    https://www.dropbox.com/s/h0m8y6k31x3c0zh/wpsolr-pro-fix-duplicate-category-facets.zip?dl=1

    Please remove your current WPSOLR, and install this pre-release instead. It will be part of WPSOLR 23.1

    (requires to reindex all you data)

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

You must be logged in to reply to this topic.