How to Display products by Product Type?
-
I have an ecommerce website with 2 x product types: Simple and Bookable, and I need to be able to display on a Shop page only those products of a certain type – e.g. Simple products, but not Bookable products; and another Shop page display only the Bookable products, but not the Simple products.
I have looked at the woocommerce shortcodes documentation to display products, and see that display can be chosen to show products by
· product category,
· product attribute,
· featured products,
· sale products,
· best selling products,
· recent products, and
· top rated products?
but not product type?Could anyone help me with some code I can add to a page to only show products of, let’s only the ‘simple’ type?
- The topic ‘How to Display products by Product Type?’ is closed to new replies.