Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12633

    Hi there, I would like to show a product from each category on my home page. At the moment, it doesn’t look like the dynamic template builder offers this. What would the best way to go about this? Using a woocommerce shortcode or custom query?

    #76217

    maybe display post or page with product shortcode in it?

    #76218

    Probably you need to write a custom query because all shortcodes and the template builder just start a simple wp query. As far as I know WP doesn’t offer a query parameter which allows you to limit the items/articles per category/term and you need to develop a custom query for this task (eg by using a loop counter/index).

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘List product from each category on home page’ is closed to new replies.