top of page

Advanced features

CMS

CMS: Creating Dynamic Category Pages


Dynamic category pages display items from your CMS collections organized by category. Each category automatically gets its own version of the page, showing only the items assigned to that category.


For example, if you have a "Recipes" collection organized by a "Cuisines" category collection, each cuisine — Italian, Mexican, Japanese — gets its own page listing only the recipes in that category.


When you add dynamic category pages, you choose from 2 page types:


  • Category page: A dynamic item page — one version is generated per category. It shows the items assigned to that category using a filtered dataset.

  • Category list page: A dynamic list page — displays all your categories in a repeater or gallery so visitors can browse and click through to individual category pages.


Important:


Before getting started, make sure you have already set up:


  • A category collection with at least one category item.

  • An items collection with a 'Category' field connected to your category collection. Make sure to assign the items to their corresponding category collection.



Step 1 | Add a dynamic category page to your site


From your editor's CMS panel, create a dynamic category page for your category collection.


Wix Editor


  1. Go to your editor.

  2. Click CMS

    CMS: Creating Dynamic Category Pages

    on the left side of the editor.

  3. Click Your Collections.

  4. Hover over the relevant category collection and click the More Actions icon

    CMS: Creating Dynamic Category Pages

    .

  5. Select Add dynamic page.


Screenshot of adding a dynamic page for a collection.

  1. Click Category page.

  2. Click Add to Site.


Studio Editor


  1. Go to your editor.

  2. Click CMS

    CMS: Creating Dynamic Category Pages

    on the left side of the editor.

  3. Click Your Collections.

  4. Hover over the relevant category collection and click the More Actions icon

    CMS: Creating Dynamic Category Pages

    .

  5. Select Add dynamic page.


Screenshot of adding a dynamic page from the CMS panel.

  1. Click Category page.

  2. Click Add to Site.



Step 2 | Adjust your category page connections


Each dynamic category page comes with multiple datasets already connected. Before customizing, it helps to understand how the default datasets work and what each one controls on the page.


Your category page includes 3 datasets by default:


  • Dynamic page dataset: Connects the page heading area to your category collection. This includes the category name, image, and description. The correct category automatically loads based on the URL of the page.

  • 1st regular dataset: Connects the repeater or gallery to your items collection. This shows items assigned to the current category. The dataset is automatically filtered by the 'Category' field.

  • 2nd regular dataset: Connects a category navigation menu to the category collection. This menu is a repeater with buttons that, when clicked, take visitors to the relevant category.


To edit the page connections:


Wix Editor


  1. Go to the category page in your editor.

    Tip: By default, your category page is titled {Category collection name} (Category).

  2. Click the element in which you want to edit the connections:


  1. Select the relevant image or text element at the top of the page.

  2. Click the Connect to CMS icon

    CMS: Creating Dynamic Category Pages

    .

  3. (If needed) Edit the connected dataset, dataset settings or field connections.

    Note: These elements should connect to your category collection through the dynamic page dataset named {Category collection name} Category Item.

    CMS: Creating Dynamic Category Pages
  4. Click Preview at the top right to test your connections.


  1. Select the repeater or gallery that shows items associated with the category.

  2. Click the Connect to CMS icon

    CMS: Creating Dynamic Category Pages

    .

  3. (If needed) Edit the connected dataset, dataset settings or field connections.

    Note: The repeater or gallery should connect to your items collection through the dataset named {Items collection name} List.

    CMS: Creating Dynamic Category Pages
  4. Click Preview at the top right to test your connections.


  1. Select a button on the repeater that shows your category navigation.

  2. Click the Connect to CMS icon

    CMS: Creating Dynamic Category Pages

    .

  3. (If needed) Edit the connected dataset, dataset settings or field connections.

    Note: The buttons should connect to your category collection through the dataset named {Category collection name} Menu.

    CMS: Creating Dynamic Category Pages
  4. Click Preview at the top right to test your connections.


Studio Editor


  1. Go to the category page in your editor.

    Tip: By default, your category page is titled {Category collection name} (Category).

  2. Click the element in which you want to edit the connections:


  1. Select the relevant image or text element at the top of the page.

  2. Click the Connect to CMS icon

    CMS: Creating Dynamic Category Pages

    .

  3. (If needed) Edit the connected dataset, dataset settings or field connections.

    Note: These elements should connect to your category collection through the dynamic page dataset named {Category collection name} Category Item.

    CMS: Creating Dynamic Category Pages
  4. Click the Preview icon

    CMS: Creating Dynamic Category Pages

    at the top right to test your connections.


  1. Select the repeater or gallery that shows items associated with the category.

  2. Click the Connect to CMS icon

    CMS: Creating Dynamic Category Pages

    .

  3. (If needed) Edit the connected dataset, dataset settings or field connections.

    Note: The repeater or gallery should connect to your items collection through the dataset named {Items collection name} List.

    CMS: Creating Dynamic Category Pages
  4. Click the Preview icon

    CMS: Creating Dynamic Category Pages

    at the top right to test your connections.


  1. Select a button on the repeater that shows your category navigation.

  2. Click the Connect to CMS icon

    CMS: Creating Dynamic Category Pages

    .

  3. (If needed) Edit the connected dataset, dataset settings or field connections.

    Note: The buttons should connect to your category collection through the dataset named {Category collection name} Menu.

    CMS: Creating Dynamic Category Pages
  4. Click the Preview icon

    CMS: Creating Dynamic Category Pages

    at the top right to test your connections.



Step 3 | (Optional) Display items from another collection on your category page


You can add more datasets to a category page if you want to display items from different collections on the same page. Your editor automatically adds a 'Category' field filter to each new dataset if the items collection has a 'Category' field associated with the page's category collection.


To display items from another collection:


Wix Editor


  1. Make sure the items collection you want to display has a 'Category' field with items assigned to the category collection.

  2. Add a new dataset to the page and connect it to the other items collection:

    1. Click CMS

      CMS: Creating Dynamic Category Pages

      on the left.

    2. Click Manage Page Connections.

    3. Click Add a Dataset at the bottom right.

    4. Click the Choose a collection dropdown and select the other items collection you want to display. If needed, edit the dataset name.

    5. Click Create.


Note:


The dataset automatically adds a filter that displays items when their 'Category' field value matches the category displayed on the page.


Screenshot of the dataset filter that is added automatically.

  1. Add a repeater or gallery and connect it to your new dataset.

  2. Preview the page to verify the correct items display for each category.


Studio Editor


  1. Make sure the items collection you want to display has a 'Category' field with items assigned to the category collection.

  2. Add a new dataset to the page and connect it to the other items collection:

    1. Click CMS

      CMS: Creating Dynamic Category Pages

      on the left.

    2. Click Manage Page Connections.

    3. Click Add a Dataset at the bottom right.

    4. Click the Choose a collection dropdown and select the other items collection you want to display. If needed, edit the dataset name.

    5. Click Create.


Note:


The dataset automatically adds a filter that displays items when their 'Category' field value matches the category displayed on the page.


Screenshot of the dataset filter that gets added automatically.

  1. Add a repeater or gallery and connect it to your new dataset.

  2. Click the Preview icon

    CMS: Creating Dynamic Category Pages

    at the top right to test your connections.



Step 4 | (Optional) Customizing the URL slug structure


Dynamic category pages are created with a default URL structure based on your collection name and the category title:


  • Category list page: https://www.yoursite.com/{category-collection-name}

  • Category page: https://www.yoursite.com/{category-collection-name}/{category-name}


You can customize the URL slug if needed. For more advanced URL customization, see CMS: Creating Unique Dynamic Page URLs.



Step 5 | Publish your site


Once you confirm that all of the connections are correct in your editor, go ahead and publish. This creates the actual URLs for all of your dynamic pages and makes the content go live.



FAQs


Click a question below to learn more about dynamic category pages.


If you see a 404 error, you may not have saved your site after adding the dynamic pages. Save the site and reload the editor, then try previewing again. If the category collection is empty — no category items have been added yet — the page also won't have any content to display.


A category page is a dynamic item page. One version is generated per category, showing only the items assigned to that category. Think of it as the detail view for a single category.

A category list page is a dynamic list page. It shows all your categories in a repeater or gallery, giving visitors an overview they can browse. Each category in the list links to its own category page.


You can add links to dynamic category pages from your site menu the same way you link to any dynamic page. See CMS: Linking to Dynamic Pages for the full instructions.


Need A Professional Website?
Contact Us 
Today!

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

I'm a paragraph. I'm connected 

wix experts
Graphic2Traffic web design
©
bottom of page