Remove Product categories from ajax search

This topic has 4 replies, 2 voices, and was last updated 1 years, 7 months ago ago by Rose Tyler

  • Avatar: danny
    danny
    Participant
    September 16, 2022 at 11:58

    Hi:

    Is it possible to remove product categories from showing up on ajax search?
    https://ibb.co/VW4VJhq

    Even if there are none selected, still coming up: https://ibb.co/ssWgnGn

    Thanks!

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 16, 2022 at 12:17

    Hello,

    To disable categories, add the next code in Theme Options > Theme custom CSS > Global:

    .ajax-search-form .ajax-search-categories, .ajax-search-form .ajax-extra-content {
        display: none;
    }
    @media only screen and (min-width: 993px){
        .search-full-width .et-mini-content {
            height: 300px;
        }
    }

    Regards

    Avatar: danny
    danny
    Participant
    September 16, 2022 at 12:25

    I think i close this too early. Although they are not being displayed, they still load, and that was our issue as page is being slow down by it.

    https://prnt.sc/ud2GX9VXpq8j

    Can we defer them or avoid loading?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2022 at 12:48
  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Remove Product categories from ajax search’' 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.