I wanna customize my Ajax search bar’s dropdown choice

This topic has 12 replies, 3 voices, and was last updated 2 weeks, 3 days ago ago by Luca Rossi

  • Avatar: zoljargal
    zoljargal
    Participant
    October 27, 2024 at 09:08

    Hi. I wanna customize my ajax search bar’s dropdown choice by brand

    11 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    October 28, 2024 at 07:45

    Hello, @zoljargal,

    Thank you for contacting us and for using XStore.

    Our theme searches by title, description, SKU, posts, and pages https://prnt.sc/zVmSZgvgH_J2 , but does not search by tags, brands, or categories. For more information, please refer to the following link: https://www.8theme.com/topic/include-brands-in-search-results/ .

    If you would like to request that this feature be added, you can post your request on our Taskboard at https://www.8theme.com/taskboard/. If it receives enough votes from other customers, our development team will consider adding it to one of our upcoming updates.

    Additionally, for any custom requirements, you are welcome to contact our customization department through the following link:
    https://www.8theme.com/account/#etheme_customization_panel

    We appreciate your understanding and are here to assist with any further inquiries you might have.

    Best Regards,
    The 8Theme Team

    Avatar: zoljargal
    zoljargal
    Participant
    November 1, 2024 at 06:19

    No I wanna Dropdown menu should display “Brands” instead of “Product Categories”. https://prnt.sc/FzEFgUB9xwW8

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 1, 2024 at 07:39

    Hello, @zoljargal,

    Thank you for your prompt response.

    To assist you in displaying “Brands” instead of “Product Categories,” we have prepared a detailed video tutorial. Kindly watch the video in its entirety and follow the steps demonstrated.

    You can find the video link in the private content area.

    We hope this guide proves helpful. Should you have any further questions, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: zoljargal
    zoljargal
    Participant
    November 1, 2024 at 07:58

    Sorry i seems you misunderstanded me. i wanna customize my Ajax search bar’s dropdown menu should display “Brands” instead of “Product Categories”
    https://prnt.sc/yx-CQ7GQlOK5

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 1, 2024 at 08:22

    Hello, @zoljargal,

    Thank you for contacting us and for using XStore.

    We regret to inform you that it is not possible to achieve your desired outcome with the current version of the theme. Item support does not include services to modify or extend the item beyond the original features, style, and functionality described on the item page. It requires additional code customization.

    If you require a paid service, kindly contact the appropriate department through the following link:

    https://www.8theme.com/account/#etheme_customization_panel

    Alternatively, you can post your request on our Taskboard at https://www.8theme.com/taskboard/. If it receives enough votes from other customers, our development team will consider adding it in one of the upcoming updates.

    We thank you for your patience and we hope you have a great experience with 8Theme’s Team.

    Best Regards,
    8Theme’s Team

    Avatar: zoljargal
    zoljargal
    Participant
    November 1, 2024 at 09:19

    Then website ajax search bar’s dropdown can be set only parent categories? Now its like this https://prnt.sc/HPOPLf6tPSwA duplicated or not parent categories in it

    Avatar: Justin
    Luca Rossi
    Support staff
    November 1, 2024 at 12:25

    Hi @zoljargal,

    Then website ajax search bar’s dropdown can be set only parent categories? Now its like this https://prnt.sc/HPOPLf6tPSwA duplicated or not parent categories in it

    There is no option to show only parent categories.

    But you can use this code to hide the child categories:

    
    add_filter('etheme_elementor_ajax_search_categories_args', 'n2t_etheme_elementor_ajax_search_categories_args');
    function n2t_etheme_elementor_ajax_search_categories_args($args){
        $args['exclude'] = [1, 2, 3];
        return $args;
    }
    

    The code should be put under functions.php file locates in your child theme. Don’t forget to replace the 1, 2, 3 number with your child categories ID.

    Hope it helps!

    Avatar: zoljargal
    zoljargal
    Participant
    November 5, 2024 at 11:08

    Can you give me not php and another solution. just like custom ccs

    Avatar: Justin
    Luca Rossi
    Support staff
    November 5, 2024 at 15:43

    Dear Zoljargal,

    We regret to inform you that, in this instance, the custom CSS codes will not be applicable.

    Thank you for your understanding.

    Best regards,
    The 8Theme Team

    Avatar: zoljargal
    zoljargal
    Participant
    November 6, 2024 at 03:19

    i there any other way. i cant edit files

    Avatar: Justin
    Luca Rossi
    Support staff
    November 6, 2024 at 11:53

    Hi @zoljargal,

    Why don’t you use this solution? You just need to insert the category ID you want to hide and it will be safe when a new update of XStore release: https://www.8theme.com/topic/i-wanna-customize-my-ajax-search-bars-dropdown-choice/#post-421287

    Best regards,
    The 8Theme Team

  • Viewing 12 results - 1 through 12 (of 12 total)

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

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