# show or hide item from collection based on each site members

**URL:** <https://forum.wixstudio.com/t/show-or-hide-item-from-collection-based-on-each-site-members/10646>\
**Category:** Ask the community\
**Tags:** wix-members-area, question, code\
**Created:** [November 15, 2022, 5:14pm UTC](https://forum.wixstudio.com/t/show-or-hide-item-from-collection-based-on-each-site-members/10646 "2022-11-15T17:14:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![solutionaspirants](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/solutionaspirants/32/35597_2.png) [@solutionaspirants](https://forum.wixstudio.com/u/solutionaspirants)\
**Post date:** [November 15, 2022, 5:14pm UTC](https://forum.wixstudio.com/t/show-or-hide-item-from-collection-based-on-each-site-members/10646/1 "2022-11-15T17:14:42Z")

</div>

Hello all,  
Pretty new to Wix Code

i need to show or hide item from collection based on each site members,basically if the user does not have that item or it is null in the collection then i want to hide that column or section. the focus is the logged in user not general user

Thank you!

---

<div class="post-metadata">

**Author:** ![amandam](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/amandam/32/79539_2.png) [@amandam](https://forum.wixstudio.com/u/amandam)\
**Post date:** [November 16, 2022, 12:13am UTC](https://forum.wixstudio.com/t/show-or-hide-item-from-collection-based-on-each-site-members/10646/2 "2022-11-16T00:13:21Z")

</div>

Hello! If you have javascript knowledge already, working in Velo won’t be difficult.

You will want to take a look at the [wix members API](https://www.wix.com/velo/reference/wix-members) to be able to tell who the current logged in user is and then you can review [wix data](https://www.wix.com/velo/reference/wix-data) to learn how to query the collection based on whatever parameters you need

I would also recommend learning the basics of Velo to familiarize yourself which can be found in [Getting Started](https://www.wix.com/velo/reference/getting-started/about-velo) in the API documentation

As you work, you will want to add code snippets of what you have tried and where you are stuck so that developers in our community can offer guidance.
