12% off of LTD using this coupon: TWELVEPERCENTOFF. Promo ends on 2 Dec midnight UTC.
Published on Sep 22, 2019

How to Show Top Level Categories Only in Categories List

Sridhar Katakam

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.



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 ($47/month or $599 one-time).

Already a member? Log in below or here.