CMS: Displaying Your Wix Stores Categories on Any Page

11 min read
Showcase all your Wix Stores product categories in a gallery, repeater, or table on any page such as your Home or Cart page. When customers click a category, they go to the relevant Category Page where they can view its products. Alternatively, you can create a new dynamic list page to display your categories.

After connecting your gallery, repeater, or table to the CMS (Content Management System), you can use the dataset settings to choose which categories display. You can also control the order they display in and how many appear at a time. 
A screenshot of Stores product categories showing on a Cart page.
Important:
You must have the new version of Wix Stores product categories to follow this tutorial. If you don't have it, learn how to manually create a gallery of categories with the original version of product categories. 
Before you begin:

Go to the page in your Editor where you want to display your Wix Stores categories. If needed, you can add a new page. Then add the element you want to display your categories in. 
Wix Editor
Editor X
Studio Editor
  1. Go to your Editor.
  2. Go to the page or section where you want to display your Wix Stores categories.
  3. Click Add Elements  on the left side of the Editor.
  4. Add a Pro Gallery, repeater, or table:
    • Pro Gallery: Display your categories in a gallery: 
      1. Click Gallery
      2. Click and drag the Pro Gallery of your choice onto the page. 
      3. Remove the default images from the gallery:
        1. Click the gallery and select Manage Media
        2. Click Select All then click Delete
        3. Click Done
    • Repeater: Display your categories using multiple elements attached to a repeater:
      1. Click List
      2. Click and drag the repeater of your choice onto the page. 
      3. Make sure your repeater has an image or button so you can link it to your Category Page later. You can add or remove elements from your repeater. If necessary, you can resize the repeater so it can fit all the elements you need inside it.
    • Table: Display your categories in a table format:
      1. Click List
      2. Click Tables and drag the table of your choice onto the page. 
Note:
Tables are not available in Editor X or the Studio Editor. 

Connect the collection fields to your repeater, gallery or table. The values from these dynamic fields change on your live site depending on the category shown. Make sure to link the buttons or images to the Page URL. This link allows visitors to click to go to the relevant Stores Category Page. 
Wix Editor
Editor X
Studio Editor
  1. In your Editor, click the repeater, Pro Gallery, or table.
  2. Click the Connect to CMS icon .
  3. Click Create Dataset. If you already have a dataset on your page, click the Choose a dataset drop-down and select Create a New Dataset.
  4. Click the Choose a collection drop-down and select Collections under the Stores Wix app collection.
  1. (Optional) Click the Dataset name field and enter a name for the dataset. 
  2. Click Create
  3. (Repeaters only) Under Connections, click the repeater element you want to connect (e.g. Text, Button, Image). 
  4. Under Connection options, click the relevant drop-downs and select the dynamic collection fields you want to connect: 
    • Name (Text): The category name set in Wix Stores.
    • Main Media (Image): The category image set in Wix Stores. 
    • Slug (Text): The unique part of the URL at the end of your Category Page web address. You can set these by editing the SEO settings of each Stores category
    • ID (Text): The unique identifier code in the backend of each category.
    • Navigate Page URL: The web address of the relevant Category Page. For buttons, click the Click action connects to drop-down to select Navigate Page URL. For images or the Pro Gallery, click the Links connect to drop-down to select Navigate Page URL.
  1. (Repeaters only) Click Repeater connections and repeat steps 7-8 above to connect additional elements in the repeater. 
  2. Click to adjust your repeater elements, Pro Gallery or table as needed.
    Tip: You can add or remove elements from your repeater at any time. Disconnect elements if you want to use static content that doesn't change according to the relevant category. 
  3. Click Preview to test the functionality. 
  4. Click Publish if you are ready to make the changes go live. 

(Optional) Step 3 | Manage the dataset settings

In your dataset settings, you can choose the maximum categories that can display at a time. You can add filters to include specific categories or use sorts to control the category order.
Note:
Tables in the Wix Editor are not affected by these dataset settings. Click Manage Table on the table element to manage the fields that appear and their order. 
Wix Editor
Editor X
Studio Editor
  1. In your Editor, click the dataset you connected and select Settings
  1. Edit the Maximum items displayed field to set the maximum number of categories that can load at a time on the page. This is also the maximum categories that can load per page in a connected pagination bar or per click in a "Load More" button
  2. (Optional) Click + Add Filter to only show specific categories in the element. 
  3. (Optional) Click + Add Sort to choose the order in which the categories appear in the element.
  1. Click Preview to test the functionality.
  2. Click Publish if you are ready to make the changes go live. 

Did this help?

|