Can wix code be used for connecting wix stores to a database. to enable displaying different collections but with the same layout?

Hey,
Can you provide a few more details? Which collections would you like to display?

so i have like product collections for tshirts, shorts, sweaters and more. Displaying each of them on different pages is long and arduous work, so i was wondering if there was a way to use one page but enable the collection displayed by wix store to change. Kinda like how multipage works

I was wondering if there was a way to use one page but enable the collection displayed by the Wix store to change. because I try it and kind multiple pages work so I try it on my blog you can visit it.

Hey,
If I understood correctly, you want the user to click a stores collection choice in an element (dropdown, tab, etc) and then display only products from that specific collection, all on the same page.

Sure, there are lots of ways to do this. You can explore our documentation, examples, and forum for content on filtering.

What you basically want to do is display content from your built-in Stores/Products database collection in a repeater and then use a user input element with choices from the Collections field to filter the products by the selected collection. Then link each product in the repeater to its product page URL.

If you specifically want to use tabs (like multipage), you could use a multi-state box element to create tab functionality.

what’s your blog?