Subcategories (1 post)

  1. hansderbaer
    Posted 2 years ago #

    Hello Guys,

    my englisch is bad..

    I have installed woocommerce on my website, works really nice, but i want to customize it a bit..

    I have Parent-Categories (Schools) and Sub-Categories (Classrooms)
    On my Shop page i show all the Schools, when a user clicks on a school, there should appear the classes (sub-categories of parent-categorie).

    I used this shortcode to show all the Schools on a page

    [product_categories number="12" parent="0"]

    Works nice, but when i click on a school, in fact i see the classes, but not in my layout, but rather on a nearly blank page without my stylesheets...

    The really strange thing is, when i create the archive-products.php, and click on a parent-cat, the sub-categories won´t show up... i get directly the products of all sub-categories... WHYYYYYYY

    how can i show the sub-categories in my layout?
    Which .php file have to be created?



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic