Xstore Brand filter change to only show brands in the current category

Solved12 replies4 participantsUpdated by Tony Rodriguez

  • Avatar: Ian
    Ian
    Participant

    Is it possible to change the filter by Xstore brands to show only xstore brands for products in the current category.
    At the moment when I use the filter, it shows every single xstore brand created, I would like to make it only show the brands in the current product category that is being viewed.

    12 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Ian,

    Unfortunately, it is not possible to achieve this through the available settings. However, if you provide us with access to your FTP and admin panel, we will be able to implement the necessary customization for you.

    Best regards,
    8Theme Team

    Avatar: Ian
    Ian
    Participant

    Hello,

    Thankyou very much, that is great.
    I have attached the login details.

    regards
    Ian

    Please contact administrator
    for this information.
    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff

    Hello,

    Thank you for providing access to the admin panel. However, we also require FTP access, so please provide those credentials as well.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best regards,
    The 8Theme Team

    Avatar: Ian
    Ian
    Participant

    Thankyou, I have posted in private area.

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello,
    Unfortunately, the FTP access details you provided lead to an empty folder.

    Best regards,
    8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: Ian
    Ian
    Participant

    Hello,

    I am very sorry about that, it should be pointing at the correct directory now.

    regards
    Ian

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Ian,

    Thank you for providing access. We have modified the XStore Brand filter so that it now displays only the brands within the current category. Unfortunately, we cannot set this behavior as the default for all our clients. Therefore, we have made several changes (too many to list here) to the following file:

    wp-content/plugins/et-core-plugin/app/controllers/elementor/general/product-filters.php

    Additionally, we have added the following custom code to the xstore-child/functions.php file of your child theme.

    add_filter( 'et_taxonomy_filter_template_settings', function ( $settings ) {
        $settings['brand_depend_category'] = true;
        return $settings;
    });

    Best regards,
    8Theme Team

    Avatar: Ian
    Ian
    Participant

    Thankyou, that works a lot better with so many brands in use, is there anything I need to do when applying updates to the store, or will the changes not be overwritten?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, Ian,

    Thank you for your feedback. We are glad to hear that the solution works better for your store with multiple brands.
    Regarding updates, if the changes were made in the child theme, they will not be overwritten when updating the parent theme or plugins.

    Best Regards,
    8Theme’s Team

    Avatar: Ian
    Ian
    Participant

    thankyou

    Avatar: Ian
    Ian
    Participant

    Thanks for the support! My topic “Xstore Brand filter change to only show brands in the current category” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Dear Ian,

    We really appreciate your time and engagement within the WordPress & WooCommerce community

    Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.

    Your input makes a real difference.

    Topic closed.
    The 8Theme Team

The issue related to '‘Xstore Brand filter change to only show brands in the current category’' has been successfully resolved, and the topic is now closed for further responses