How to display only a Webflow CMS collection's items belonging to the current MemberStack supplier?
Hi there! I'm struggling with filtering by member Id, so basically I have this CMS collection (products) that has a reference field (which refers to the collection suppliers), so I can track which stones belong to which suppliers (which are MS users that I keep in sync with Webflow), the problem is I don't know how to only display the stones that belong to the current logged in memberstack user (so the current supplier), is there a way to do it using memberstack filtering? Thank you in advance!
Comments
1 comment
Hey Fil Design
I believe you can make use of this cloneable for your use-case. It handles user generated content but in your case you can make use of the custom code (shown at 7:20 in the tutorial video) to filter the items based on the field from the Suppliers collection which ideally has the Memberstack Member ID stored in it.
You can explore the code further to remove / hide the items whichever fits your use-case.
Hope this gives you some idea.
Please sign in to leave a comment.