I want to hide stock in search result can you help me with that

This topic has 2 replies, 2 voices, and was last updated 1 years, 8 months ago ago by Tony Rodriguez

  • Avatar: Fahad Khalid
    Fahad Khalid
    Participant
    March 22, 2023 at 21:00

    I want to hide stock in search result can you help me with that

    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    March 23, 2023 at 06:17

    Hello Fahad Khalid,

    Thank you for selecting XStore as your WooCommerce WordPress theme.

    In order to address your issue, please copy and paste the following CSS code into XStore >> Theme Options >> Theme Custom CSS >> Global CSS. After doing so, please clear your browser cache and check back to your site.

    .search-full-width .searching .autocomplete-suggestion .content-product .product-details>.stock {
        display: none !important;
    }

    We hope this resolves your issue.

    Best Regards,
    8Theme’s Team

  • Viewing 2 results - 1 through 2 (of 2 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.