WooCommerce set default product category


  1. Hey,
    Thanks for the quick tutorial. I didn’t know it was this easy! I was searching for code snippet for doing this. Haha!

  2. Hello,
    How can I undo this process
    I accidentally clicked “Make Default” on a category
    How can I make the “Browse All” default

    1. Hi Rawan,
      WooCommerce uses the standard WordPress taxonomy system, so there will always be a default category here. You can’t really make them all default. The only thing this really affects is what category a new product you set up will be in.

  3. Paolo

    Thanks for this tutorial.
    I never figured out it was so easy.

  4. Hi, thanks for the write. I wish to set the product category to show latest contents first. How do i go about that, pls?

  5. Allan Knudsen

    Great now I understand what the “make default” actually means ;-)
    Is there a way to make a product to have a default category. I have products in several categories and if I choose category A, click on the product the breadcrumb changes to show another category where this product also belongs to. Very annoying.

    1. Hi Allen. I’m not sure what you are using to manage your breadcrumbs, so this may or may not help. Some SEO plugins will all you to set a ‘primary’ category on a product. We use The SEO Framework, and I believe Yoast also does this. Here’s a screenshot of what I see: https://share.getcloudapp.com/4gulDyo4. You’d likely need to change how you’re generating breadcrumbs to use the TSF, or Yoast’s breadcrumb script.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.