Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1175695

    Hi,
    I would like to remove one category from showing up in my default WooCommerce Shop page. I will call that Category on a different page using a Product Slider. I just don’t want the “Prints” category to show up on my default shop Page.

    Anyone know how to do this?

    Shop Link for reference:
    https://www.gregorybeylerian.com/shop/

    Thanks,

    GB

    #1175798

    Hey gb,

    Please try the following in Quick CSS under Enfold->General Styling:

    .sidebar .product-categories li.cat-item-69 {
      display: none;
    }

    Best regards,
    Rikard

    #1175877

    Hey Rikard,

    I posted the code, cleared the cache and checked with 4 browsers, and with Opera the “prints” categories are removed However the print products themselves are still visible in the store.

    I am wondering if the other approach would be to build a custom shop page and have the added benefit of the Layout builder? But I heard this was more complicated and has its own issues?

    Thanks for all the support!

    GB

    #1175960

    Hi GB,

    Please try this CSS as well:

    .html_entry_id_3483 li.product_cat-featured-print-prints {
      display: none;
    }

    Best regards,
    Rikard

    #1176033

    Hi Rikard,

    Thanks, that worked for the “Featured Prints” Also added the following code to remove the “georgie leahy prints”:

    .html_entry_id_3483 li.product_cat-georgie-leahy-prints {
    display: none;
    }

    It worked to remove those prints as well from that page but the layout is just showing 2 columns now instead of 3 which it is set to.

    I added the featured print back and it returned the layout to 3 column.

    However what code would I use to just show “Featured Print” in the shop Nav bar? (the code you provided removes all the prints from sidebar)

    OK, I figured it out. I created a new “Featured Print” Parent Category and then re applied your code which removed the other print categories.

    So its all figured out!!

    Thanks again!

    GB

    • This reply was modified 4 years, 10 months ago by gb.
    #1176532

    Hi,

    Great! Glad to know that you figured it out. Please feel free to open a new thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Can I remove a Category from default WooCommerce shop page?’ is closed to new replies.