How to change the search function behaver

This topic has 3 replies, 2 voices, and was last updated 11 months ago ago by Andrew Mitchell

  • Avatar: James
    James
    Participant
    December 22, 2024 at 05:39

    Hi. Now, Ajax search displays product variation as well.
    How can I set it to just search for products without variation?

    2 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    December 23, 2024 at 18:28

    Hello, James,

    Kindly add the following code to the functions.php file of your child theme

    add_filter('theme_mod_search_product_variation_et-desktop', '__return_false');

    Best regards,
    The 8Theme Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 18, 2025 at 01:42

    Dear James,

    As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?

    Click here to share your valuable perspective: https://themeforest.net/downloads

    Your time and trust are highly appreciated!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘how to change the search function behaver’' has been successfully resolved, and the topic is now closed for further responses

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