My repeater is showing too much on all dynamic page

I’m trying to make a category page. My vision is once you click on a link in my menu it carries you to another page with then on that page the categories are listed out using repeaters.
I managed to do it. I used 1 cms collection for the repeaters then changed the page to a dynamic page.
I used the multi-reference field to see if it only shows items on specific pages but it’s now working as I would like.

So does anyone know where i went wrong or what to change to make different things appear on each page


It’s taken a minute to work out what you are trying to achieve, but I think you want a dynamic (all) page made from the ShopCategories collection that shows the different categories. Then when clicked it takes them to a dynamic (title) page also made from the same collection which shows all the items that match that category. On this page you want to add a second dataset for the RepeaterCatelog and filter it so that only items whose reference field matches will show on the page. Then connect a repeater to that dataset to show all the (now correct) items.

Then you probably want a (title) page made from the RepeaterCatelog collection to show the info for the individual items which you can link to. I think this is how you want it to be basically?

Here’s an example page I just made, obviously no images or anything but it should give an idea of how it works: https://themusingsofmaars.editorx.io/examplecode/cat

Hi. If you’re using editor X or studio category pages are already there for you if you create your site using the standard way instead of CMS. I could never get CMS to work so I gave up!

(I’m using studio)

That’s about the jist is it.
I would want them to click one of the categories on my menu (male, female…)
Then once they click on one they will be brought to the category page of it.
(Male: sweatshirt, bottoms…)

I wanted to use dynamic pages to have different pages that look generally the same
(Male, Female, Accessories…)
This is what they would click on in the menu, which would be connected to the dynamic pages.

To show the categories I wanted to use repeaters.
The repeaters would change from page to page.

The problem right now is that even though I used the reference link in cms it doesn’t want to use that to filter

But if I use dataset filters to do it I don’t see it filtering through the pages since whatever I do on 1 dynamic page it does it on all.
So if I filter it for Males it also does male on all other pages.
Unless I’m not understanding datasets and filtering properly.
I’m sort of new to it as I took a break for a while.

I think I can achieve my result if I don’t use dynamic pages, I’ll just have a page for each.

There is? I didn’t see anything like that so I’m oblivious to it. I’ll look

Did you look at the link I provided? It shouldn’t make any difference if it’s made on Wix Studio for this case. I think what I created isn’t far off what you wanted if you follow what I suggested you’ll be on the way in no time!

Perhaps you want the Male, Female etc to be in your menu rather than on a page but that’s easy enough, I’ve just updated my example so the categories are in the menu in the header:

What I made for you: A category page with repeaters that change from page to page. You click on the repeaters and they take you to the item’s individual page.
On the Cat(Title) page your dataset filter should look like this:
examplefilter

Yours will look slightly different in Wix Studio since datasets are now built into the right hand workspace now rather than floating like mine is in Editor X, but it works the same. This is the only “complex” thing in my instructions, once you have that it will work fine. (You can ignore my original first instruction of creating an (all) page if you just want each category to be linked from a menu instead.)

Also, if you only have 3 categories as in your screenshots then it wouldn’t be too bad to do it without dynamic pages, just create 3 different pages. But that’s not especially practical if you want to add more options later on.

I’m not sure if this sort of layout is possible in the built in Wix Stores app as I’ve never used it, it would make sense if you are selling things to try that too, a lot of stuff is created for you automatically, but it might be harder to get it looking how you specifically want, but you have a few options now to hopefully get what you want to work. :smiley:

I ended up making 3 separate pages without using the dynamic pages.
I tried the filters on the dynamic pages but it still didn’t work how I wanted.
But the filter on the 3 dif pages worked how i wanted
Thanks for your help, ill end up trying other methods along the way.

1 Like