Shop Filters Issue – Brand Not Updating by Category

This topic has 51 replies, 2 voices, and was last updated 10 hours, 6 minutes ago ago by Andrew Mitchell

  • Avatar: Ramin
    Ramin
    Participant
    April 17, 2026 at 10:25

    Hello,

    We are experiencing an issue with the shop filters.

    Previously, when selecting a product category, the Brand filter was automatically limited to only relevant brands. This is no longer working.

    Additionally, if possible, we would like all attribute filters to be interconnected. For example, when selecting “Cat Age: Kitten”, only the relevant flavors and brands for that selection should be visible.

    Please, contact administrator
    for this information.
    50 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 17, 2026 at 13:14

    Hello, Ramin,

    We tried to connect to your website via FTP and noticed that the access credentials are no longer valid. Could you please provide us with the updated access details so that we can check the issue more thoroughly?

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 17, 2026 at 13:19

    Here are the details:

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 17, 2026 at 14:22

    Hello,

    Unfortunately, we are still receiving an error message. Please check the attached files.

    Best regards,
    8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Ramin
    Ramin
    Participant
    April 17, 2026 at 14:33

    It works fine on my side. Please be sure to add sftp:// before the IP and double check the password (I created new one)

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 20, 2026 at 08:29

    Hello, Ramin,

    We have made changes to the following file:

    wp-content/plugins/et-core-plugin/app/models/widgets/brands-filter.php

    These modifications will also be included in the next update. In addition, we have added the following code to your child theme’s functions.php file to ensure that the brands feature continues to work correctly and automatically after the update.

    add_filter( 'etheme_widget_product_brands_cache', '__return_true');

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 20, 2026 at 08:40

    Hello, Andrew

    Thank you for the update. I checked it again, but unfortunately the issue is still not resolved.

    The brand filters remain the same across different categories instead of updating dynamically based on the current product set.

    Also, the attributes are still not linked properly to each other. For example, when I select Cat Age = Kitten, the Flavor filter should only show flavors available for kitten products, but instead it still shows all options. The same issue applies to other related filters as well.

    So at the moment, filters are not narrowing dynamically based on the selected category/brand/attribute combination.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 20, 2026 at 12:47

    Please clear your browser cache and provide us with a link to the category where the brands are displayed incorrectly.

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 20, 2026 at 15:35

    I cleared cache same problem appears: https://petmart.az/product-category/diger-heyvanlar/gemiriciler/

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 21, 2026 at 07:56

    Hello, Ramin,

    Please check whether you have provided us with FTP access to that website, as we do not see our changes being applied. Moreover, even when we disable critical files, the website continues to function.

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 21, 2026 at 10:46

    Hi,
    Kinsta has confirmed that the SFTP credentials I provided are for the live environment, and all caches (server/CDN) have been cleared.
    However, the issue is still not fixed on the website, and your changes are not visible.
    Also, since you mentioned that disabling critical files does not affect the site, this strongly suggests that you might not be working in the correct directory or environment.
    Please double-check:
    You are connected to the correct live environment
    You are editing the correct path (live site files)
    The issue still persists:
    Brand filters are not updating by category
    Attributes are not dynamic (e.g. selecting Cat Age = Kitten still shows all flavors)
    Please recheck and apply the fix on the live environment.
    Thank you.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 21, 2026 at 15:27

    Unfortunately, the changes we are making are still not being applied. We are working in the folder (the path will be provided in a private message), and we do not have access to other folders.

    Best regards,
    8Theme Team

    Please contact administrator
    for this information.
    Avatar: Ramin
    Ramin
    Participant
    April 21, 2026 at 16:09

    I have already provided you with the primary SFTP access, which has full permissions to all folders. There should be no restrictions on accessing or modifying any files.

    I also contacted my hosting provider (Kinsta), and they confirmed that everything is set up correctly on their side (correct live environment, access, and caching cleared).

    Given this, I don’t understand why the issue is still not being resolved. From my perspective, it feels like the issue is being avoided rather than properly investigated.

    I have been your customer for several years and have purchased multiple licenses from you, so I would really expect a more thorough and committed support in resolving this issue.

    Please recheck everything carefully and provide a proper solution.

    By the way, I can grant you direct access to my Kinsta account so you can check the issue from your side.

    Please provide the email address you would like me to use for the invitation.

    Avatar: Ramin
    Ramin
    Participant
    April 21, 2026 at 17:12

    Also, I would like to mention that about 2 weeks ago you were able to make changes successfully using the same SFTP user. I don’t understand how it is possible that now, with the same access, changes are not being applied.

    Additionally, the brand filter issue was actually resolved before, but after the latest update it broke again.

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 22, 2026 at 08:42

    Hello, Ramin,

    Hi, we also do not understand how this can happen, as the changes we are currently making are not being applied in any way. Even when we delete critical files, the theme continues to work. This situation is possible in three cases:
    either we are making changes on a different FTP, there is a very strong server cache, or a CDN is being used.

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 22, 2026 at 11:32

    Hi,

    Kinsta has already confirmed that:

    – The SFTP credentials are for the correct live environment
    – All server and CDN caches have been cleared

    So the issue is not related to FTP access, cache, or CDN.

    Also, as I mentioned before, you were able to make changes successfully about 2 weeks ago using the same SFTP access, and the brand filter issue was fixed at that time. It only broke again after the latest update.

    At this point, it clearly indicates that the issue is related to the theme/plugin update or the specific files being modified.

    Please investigate this from your side and apply a proper fix.

    Thank you.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 22, 2026 at 15:01

    We have encountered an unusual situation: we switched your theme to the parent theme and then back again, and the changes were successfully applied. Please check and confirm that everything is now working correctly.

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 22, 2026 at 18:28

    Hi,
    After your changes, many of my site settings and custom CSS were affected, and the website became unusable. I had to restore a backup.
    To avoid this happening again, please provide me with the exact code changes you made, so I can apply them manually on my side.
    Thank you.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 23, 2026 at 08:33

    Hello, Ramin,

    We have added the following code to the functions.php file of your child theme.

    add_filter( 'etheme_widget_product_brands_cache', '__return_false');
    add_filter( 'etheme_is_category_check', '__return_true');

    Best regards,
    The 8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 23, 2026 at 10:10

    Hello,

    The snippet fix resolved the brand filter issue.

    Can the same approach also be applied to attribute filters, so they update dynamically as well? For example, when a user selects Cat Age = Kitten, only the relevant flavors and other related attributes should remain visible instead of showing all options.
    If possible, please provide a similar snippet-based fix for attributes too.
    Thank you.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 23, 2026 at 10:56

    Hello,
    This logic should work automatically. Please send us the page with an example where it does not function properly.

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 23, 2026 at 11:08

    Hi,

    Here is a clear example where the issue occurs:

    https://petmart.az/magaza/?filter_cat-age=anadan-ayrilma&filter_dad=yumurta

    Please see the attached screenshot.

    Steps to reproduce:

    1. Select Cat Age = “Anadan ayrılma (0–4 ay)”
    2. Check the “Dad” (Flavor) filter

    Expected result:
    Only flavors related to kitten products should be displayed.

    Actual result:
    All flavor options are still visible and not filtered based on the selected attribute.

    So the attribute filters are not dynamically updating based on the selected options.

    Please check this case.

    Thank you.

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 23, 2026 at 14:11

    Thank you for your clarification. We will consider the possibility of adjusting the functionality to meet your requirements.
    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 23, 2026 at 14:34

    Thank you for your response.

    I understand this might not be available by default, but from a usability perspective, dependent filters are essential. For example, when selecting Cat Age = Kitten, only relevant flavors and brands should be shown.

    Currently, all attribute options remain visible, which creates a confusing experience for users and reduces the effectiveness of filtering.

    This behavior is standard in many eCommerce filter systems, so I would like to ask if there is any built-in option, setting, or recommended approach in XStore to achieve this.
    If not, could you guide me on how to implement this properly?

    Thank you.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 24, 2026 at 12:41

    Hello, Ramin,

    This behavior is also determined by the theme’s functionality, but it is disabled by default as it creates additional load on the server (especially when a large number of parameters are used).

    To enable it, please add the following code to functions.php of your child theme:

    add_filter('et_swatch_filter_check_empty_tax', '__return_true');

    However, please note that your child theme is currently disabled.

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 24, 2026 at 14:44

    Hi,

    The code you provided still does not fully resolve the issue.

    After selecting Cat Age = Kitten, the Flavor options are filtered correctly. But after selecting a Flavor, the AJAX refresh resets the Flavor list and all options appear again.

    Could you please provide a fix for this multi-attribute AJAX refresh case?

    Thank you.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 24, 2026 at 15:54

    Please grant us the opportunity to make changes on your website.

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 24, 2026 at 16:00

    Hi,

    You can make the changes, but please add them as a snippet, not directly inside theme/plugin files.

    I have already added your previous brand and attribute fixes as a snippet. The snippet name is: “Snippet #246”.

    Please make any new changes in the same way, so they are easy to manage and do not get lost after updates.

    Thank you.

    Content is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 27, 2026 at 06:27

    Hello, Ramin,

    We can see that the filters are currently working correctly. Could you please send us screenshots, or preferably a video, so that we can identify exactly where the filters are not functioning properly?

    Best regards,
    8Theme Team

    Avatar: Ramin
    Ramin
    Participant
    April 27, 2026 at 14:57

    Hi,

    I will send a video, but the main issues are:

    1) Brand filters do not update based on selected attributes. For example, when selecting Cat Age = Kitten, the Brand filter should only show brands related to kitten products, but it still shows all brands.

    2) Attribute filters reset after the second selection. For example, when I select Cat Age = “Anadan ayrılma”, the Flavor filter updates correctly and shows only relevant flavors. But after selecting a flavor, for example “Siyənək”, the products are filtered correctly, while the Flavor filter itself resets and all flavor options appear again.

    So the product results may be correct, but the filter options are not staying dynamically updated.

    Please check these two cases.

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
  • 1 2
    Viewing 30 results - 1 through 30 (of 51 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.