Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRobert James
20,491 PointsWith 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
1 Answer
Matthew Newman
8,741 PointsYou 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/
Eric Buchmann
15,080 PointsEric Buchmann
15,080 PointsYou 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