Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

Robert James
Robert James
20,491 Points

With wooCommerce can you create like multiple shop page?

where you have your shop page which has different categories so you click shop then from there you can choose to view tshirts, hats or shorts etc... but have seperate pages for each category?

Thanks

You should be able to view the page that lists items in each category. Make sure a category is set up under Products in the Categories section and then there should be a link when you hover over that Category while editing them. Something like http://example.com/product-category/tshirts

1 Answer

You could add certain categories to your products, then add a "sort by" drop down menu to your shop page and add the categories to the sort by" drop down menu. You wouldn't really have separate pages for each category, the shop page would grab the specific query generated by your request, then the page would loop through the category you specified in the drop down menu. Here is a example of a theme i have used in the past: http://theme-fusion.com/avada/shop/