Displaying product count

Hello Gliders,

Is there e a way to count the number of products belonging to a category and display this number as meta data on my page with categories (list or grid)?

Like this:

Fruit (8)

Vegetables (0)

Candy (2)

From your previous question, you should already have a multiple relation column in your Categories table that matches the category name to the same in your Products table.

What you need to do next is add a Rollup column to your Categories table, target it at the multiple relation column, and take a count.

Then you can use that together with the Category name in a Template column to get what you want.

2 Likes

Thanks! It worked :smiley:

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.