Filter configuration

  • O-O
    Participant
    4 years, 8 months ago #17447

    Hello,
    At the moment we are experiencing problems with the filter settings. The website we are creating is focussed on selling clothes, thus one of the filter focuses on showing all the different types of clothing categories. On the back side we have created a hierarchy of the pathing through the website. The highest level is women, the second level is clothing, shoes and underwear. Clothing for example separates into a third layer of pants, dresses and shirts. And then pants expands into a fourth layer which goes into chino’s, shorts and jeans.
    The current issue we are experiencing with the filters, is that when I go into the first level women, and then into the second level clothing, the third level does not show all the options available. In addition, the third level, shows even second level options. As mentioned before, underwear for example is a second level, however it can be found under clothing’s third level items which it should not.
    Then, when I select a third level filter, pants. The fourth level items are not showing at all as another option.

    The current settings are that it shows the facet as a tree, otherwise it does not show the filter at all. And that you can select multiple values.

    I wish to show in the filter the different levels of the pathing, to have them in the order we assigned them in and not to show how many items are in the category. Is this possible?

    Kind regards,

    wpsolr
    Keymaster
    4 years, 8 months ago #17448

    Please send screenshots of the issues.

    O-O
    Participant
    4 years, 8 months ago #17450

    How can I add a screenshot to the reply? I can not find an add image and dragging doesn’t work?

    wpsolr
    Keymaster
    4 years, 8 months ago #17451

    Please add links to an image sharing service.

    O-O
    Participant
    4 years, 8 months ago #17455

    https://ibb.co/GxY0PNv
    This is the overview of when I am in Clothing.

    https://ibb.co/6sDtrCR
    This is when I went into a third level category, not showing the 4th level of categories.

    wpsolr
    Keymaster
    4 years, 8 months ago #17456

    It looks like your product categories are not indexed as a hierarchy, as they should.

    wpsolr
    Keymaster
    4 years, 8 months ago #17457

    I’m testing on my local environments, to check if I can reproduce the issue …

    wpsolr
    Keymaster
    4 years, 8 months ago #17462

    Here is the plugin with a fix: https://www.dropbox.com/s/zfyfshxbji6me6b/wpsolr-pro-fix-hierarchy.zip?dl=0

    Please replace your current version with the fix.

    O-O
    Participant
    4 years, 8 months ago #17470

    After this has been installed we hit multiple issues regarding the hierarchy.
    1. The hierarchy follows quite well, however we found some issues in our hierarchy. These are changed, however the website does not display these changes yet. Do we need to reindex or do anything else to update the hierarchy?

    2. For some reason categories now show up as empty. Here we can see that “herenschoenen’, is empty.
    https://ibb.co/CKF06tT
    However, on the back-end I can see this one is filled with 3000 items.
    https://ibb.co/g6dgtgc
    In addition, a subcategory of “herenschoenen” is filled with items, which should also automatically fill “herenschoenen” but it does not.
    https://ibb.co/DQBKCdC

    3. The third level of hierarchy still does not show. For example, I went into Jeans, and the head level of categories was “dameskleding” which is womens clothing, and actually should be jeans.
    https://ibb.co/nRh3qbv

    4. There is still some confusion in which is the higher level of items as shown in this example.
    https://ibb.co/2cxkvRZ
    Here you can see that Tops & shirts is at a higher level, and t-shirts and tops are under this. However, because there is no difference it looks like “Dames Jurken” is under there too. I there a way for us to highlight the higher levels?

    wpsolr
    Keymaster
    4 years, 8 months ago #17471

    Yes, do reindex whenever you update your hierarchy.

    O-O
    Participant
    4 years, 8 months ago #17472

    Then the following shows up:
    2. For some reason categories now show up as empty. Here we can see that “herenschoenen’, is empty.
    https://ibb.co/CKF06tT
    However, on the back-end I can see this one is filled with 3000 items.
    https://ibb.co/g6dgtgc
    In addition, a subcategory of “herenschoenen” is filled with items, which should also automatically fill “herenschoenen” but it does not.
    https://ibb.co/DQBKCdC

    wpsolr
    Keymaster
    4 years, 8 months ago #17473

    I can see only 3,200 results in your search, compared to 30,000 earlier.

    wpsolr
    Keymaster
    4 years, 8 months ago #17474

    Can you also check that your category filter is configured with a “AND” conditions in screen 2.4?

    O-O
    Participant
    4 years, 8 months ago #17475

    Question 2 has currently solved itself, the 3 and 4 remain

    O-O
    Participant
    4 years, 8 months ago #17476

    The setting is on when it configures it to OR when multiple variables are selected

Viewing 15 posts - 1 through 15 (of 31 total)

You must be logged in to reply to this topic.