What I’m trying to do
i want to show all the destinations and themes on my home page - these are my 2 categories in the collection created as text fields. So when user clicks any of the categories shown on the home page - he is redirected to specific listing page.
What I’ve tried so far
i assuming something to do with Reference Field or Multi-Reference Field… but not sure how to proceed.
Reference fields are for related Items on the same or other Collections. You can simply add a repeater in the home page, design the item. Then add a button, connect it to the collection, and connect it(from CMS connections) to the dynamic item page.
Hello!
You’re on the right track with reference fields in Wix CMS! To display dynamic listings on a “Trips Listing Page” from homepage category clicks (Destinations/Themes), first, ensure your Trips collection has reference fields linking to your Destinations and Themes collections. On your homepage, display your categories using Repeaters connected to their respective collections. Then, using Velo (Wix Code), program the homepage category clicks to navigate to your “Trips Listing Page” with a query parameter in the URL (e.g., /trips?destination=europe). Finally, on the “Trips Listing Page,” add Velo code to read this query parameter and filter its Trips dataset accordingly. If issues persist, check for Velo errors and ensure you’ve published your site and cleared all caches, as Incognito mode problems often stem from caching.