Updated on February 18, 2020

Categories List component in Oxygen (via the Oxygen WooCommerce integration plugin) outputs all product categories by default.

To show only the top-level i.e., parent product categories we used to be able to enter "0" (including the double quotes) in the Parent field for the Categories Query.

Before:

After:

where the product categories hierarchy is:

But this no longer works on the front end as of Oxygen 3.1.1.

This premium members-only tutorial provides two ways to restrict the product categories to top level only.

Method 1

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($37/month or $399 one-time).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: