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

If you wish to show only the top level i.e., parent product categories go to Categories Query and enter "0" (including the double quotes) in the Parent field.

Before:

After:

where the product categories hierarchy is:

References

/wp-content/plugins/oxygen-woocommerce/elements/archive-categories.php (around L54)

https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-9

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

Comments

For adding code blocks wrap the code in three backticks. Markdown should work.
Provide a URL of your site/webpage if something is not working.
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: