Alex Rivera | Logout

Woocommerce show each categories with their products

Asked 2012-09-08T12:49:55.073
9

I can go to 'WooCommerce -> Settings' link from side bar admin menu & select 'Catalog' tab & then tick 2 check boxes "Show subcategories on the shop page" But this shows a list of categories, then all products. What i want is on shop page, At first category title, then its products under it, then next category and its products.

In short, i want to list all products category wise.

Edit
Report

1 Answer

29

You could create a new shop page and use the woocommerce shortcodes in combination with headers to create a list of products organized by category. For example, in the HTML editor you could do something like this:

<h2>Category Name</h2>
[product_category category="category-name" per_page="12" columns="4" orderby="date" order="desc"]
answered 2012-10-17T00:10:05.353

Your Answer