Looping through products in a category

konradgkonradg Member Posts: 1

Hi everyone,

I'm wondering if anyone managed to figure out looping through products in a category on the index.rain page.

I am trying to feature some select categories on the homepage.


My logic is this:

{% for category in shop.categories %}

{% for product in category %}

<h1>{{ product.fulltitle}} </h1>

{% endfor %}

{% endfor %}


However, this does not work, and I haven't been able to figure out how to make it work.

If anyone has advice or pointers I would greatly appreciate your help.


Thanks!

Sign In or Register to comment.