how to list only first level of categories (even if them are empty)
-
Hi! This article here lets me know how to list categories as grid.
https://shopplugin.net/workshopp/display-your-product-categories-as-a-grid-on-the-shopp-storefront-page/The problem is that it lists even children categories and does not list empty categories.
What is there to do? I see that
shopp(‘storefront’, ‘categories’, ‘options’) at https://shopplugin.net/api/storefront-categories/ does have no useful options…
and shopp(‘storefront’, ‘category-list’, ‘options’)
at https://shopplugin.net/api/storefront-category-list/ does have a lot of options but cannot display thumbnails.Also, how can I guess what is available in a loop for example with a print_r or any other method.
Thank you!
- The topic ‘how to list only first level of categories (even if them are empty)’ is closed to new replies.