• Hi,

    I have set all products under “Dell” brand to hidden and nothing appears on this page:
    https://hardware.a-tek.org/product-brand/dell/

    which is fine.

    But on home page in last section, when i click on “Dell” tab it shows me all hidden products under dell brand and i want to hide them.

    What i have tried so far?
    1) woocommerce -> settings -> products -> inventory -> Hide out of stock items from the catalog (checkbox is already set)

    2) these out of stock items are also set to hidden

    3) tried couple of hooks in function.php to apply filters to query

    nothing worked.

    any one guide me what mistake am i doing here?

    Looking forward to your valuable responses.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • yasirhamid

    (@yasirhamid)

    Hi,
    This code will hide all products in “dell brand” category

    .product_cat-dell-laptop {
    display: none !important;
    }

    Add it to appearance → customize → Additional Css

    Thread Starter wp development agency

    (@umma)

    Thanks brother for your reply, i see most of hidden are gone, but one still there it is out of stock and visibility set to hidden in products page.
    any idea?

    Status: Published EditEdit status
     Visibility: Public EditEdit visibility
     Published on: Feb 11, 2019 @ 16:22 EditEdit date and time
    Catalog visibility: Hidden Edit
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce hidden products still showing on home page’ is closed to new replies.