Count favorites

Would it be possible to count the numbers of favorites i.e the number of times a post or product has been selected as favorite by users?

Not using the Favourite component, no.
Because the ā€œIs Favouriteā€ column is user specific, there is no way to get a rollup across all users.

What you would need to do is replace the favourite component with a button or other actionable component, and then configure an action that sets the ā€œIs Favouriteā€ column, and at the same time increments a global counter.

4 Likes

Thank you. I just need to check on my computerā€¦

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