In this tutorial we’ll learn how to display products of a ctegory in template theme page. Fortunatley woocommerce comes with a number of shortcodes which could help us achieve this. Note that WooCommerce already creates category pages, but this shortcode is useful if you want to setup a special set of products without using the widgetized page template and widgets.
First of all we need to create a category. So i’ve created a new category named ‘category1′ having slug ‘category-1′.
Now we need to create a template theme page. To do this go to add new section under pages and add a new page. So, i’ve created a new page and named it test.
You can also change the page template here:
Replace the ‘category-1′ with your category slug.