help center

Search
Close this search box.
On this page

WooCommerce Product Categories widget

Last Update: December 31, 2024

Add the widget

The Product Archives widget WooCommerce Product Categories widget 1

To access and use a widget:

  1. In Elementor Editor, click +.
    All available widgets are displayed.

  2. Click or drag the widget to the canvas. For more information, see Add elements to a page.

Note
This widget is only available if you have WooCommerce installed.

What is the Product Categories widget?

The Product Categories widget is mostly used on product archive pages. It allows you to create a page that displays your products by categories.

See all the options available with the Product Categories widget.  

Common use case

Frances is creating a website for a bakery. The site will include a catalog of their products so customers can order online.

Example

20 final page WooCommerce Product Categories widget 3

Video

See a video demonstrating the widget in action. 

Adding a Product Categories widget: Step-by-step

In the example below, we’ll create a page displaying the types of goods available at a bakery. 

Add a Product Categories widget

To add a Product Categories widget:

  1. Go to your WP-Admin page.
    1 select templtes theme builder WooCommerce Product Categories widget 5
  2. Navigate to Templates>Theme Builder.
    2 click products archive WooCommerce Product Categories widget 7
  3. Click Products Archive.
    3 click Add New WooCommerce Product Categories widget 9
  4. Click Add New in the upper right corner.
    4 click the X WooCommerce Product Categories widget 11
  5. Click X, in the upper right corner, to close the library window.
    6 click the folder WooCommerce Product Categories widget 13
  6. Click the folder icon on canvas.
    This opens the template library.
  7. Add a Header to the page.
    8 click the plus sign WooCommerce Product Categories widget 15
  8. In the top bar, click the + icon to access the widgets.
    5 Drag the widget to the canvas WooCommerce Product Categories widget 17
  9. Drag the Product Categories widget to the canvas.
    This isn’t exactly what we want so let’s edit the contents and style.
    First, we don’t want to display the category Uncategorized.
    9 Open the Query field WooCommerce Product Categories widget 19
  10. In the panel, open the Query field.
    The Source field allows you to filter what categories are displayed by the archive. 
    10 Select Manual selection WooCommerce Product Categories widget 21
  11. Use the dropdown menu to choose Manual Selection.
    11 manually select the categories WooCommerce Product Categories widget 23
  12. Use the text box to enter the names of the categories we want to include. In this case, we’ll include all categories except Uncategorized.
    In order to give each category more room, we can display two columns on each row instead of four.
    12 Open Layout WooCommerce Product Categories widget 25
  13. Open the Layout section.
    13 change number of columns WooCommerce Product Categories widget 27
  14. In the Column field, enter 2.
    By default, the Product Category widget displays the number of products in the category. In our case we don’t need that. We’ll do this through the Style tab.
    14 Click Style tab WooCommerce Product Categories widget 29
  15. Click the Style tab.
    15 scroll down to count WooCommerce Product Categories widget 31
  16. Scroll down to the Count section.
    16 click pencil icon WooCommerce Product Categories widget 33
  17. Click the pencil icon next to Typography.
    17 reduce font to 1 WooCommerce Product Categories widget 35

  18. Reduce the font size to 1.
    The page is now ready.
    18 Click Publish WooCommerce Product Categories widget 37
  19. Click Publish.
    The Conditions window appears.
    19 Click save and close WooCommerce Product Categories widget 39
  20. We don’t want to add any special conditions, so click Save & Close.
    20 final page 1 WooCommerce Product Categories widget 41
    The template is ready. 

To see how to create an archive that will display the products within a category, check this video tutorial.

 

 

Settings for the Menu widget

You can customize your widgets using content, style, and other advanced parameters, offering you great flexibility in tailoring them to your needs. Click the tabs below to see all the settings available for this widget.

Content tab

Add, delete, and edit menu items and controls. 

Content Layout WooCommerce Product Categories widget 43

Categories are displayed along rows and columns. Use the dropdown to choose how many columns will be in a row.

Use Categories Count to limit the number of categories that will appear on a page.

Content Layout 1 WooCommerce Product Categories widget 45

Use the dropdown menu to choose one of four ways to select the categories that will be displayed:

  • Show all: Show every category, including children categories.
  • Manual Selection: If you choose Manual Selection, a text box appears. Click the + sign to add categories one by one.
  • By Parent: Choose Only Top Level to display a page of all the parent categories or select a parent category to display all its child categories.
  • Current Subcategories: Used for second-level category pages. Choosing this will display only the subcategories of the selected category. For example, in a jewelry store, if a user is looking at the Rings category page, selecting Current Subcategories would display on the child categories of Rings.

Toggle to Show if you want to display categories even if they don’t have any products.

Categories can be ordered by:

  • Name: The Category name from A-Z.
  • Slug: The slug is the part of the URL. For example, a store may have a  category Our sale items with a URL of www.mystore.com/sale-items. The slug would be sale-items.
  • Description: When creating a category, you have the option to add a description. This option arranges the categories by these descriptions.
  • Count: Arrange the categories according to how many items they contain.

Arrange the categories by:

  • ASC: Ascending order, from A-Z or 1-10.
  • DESC: Descending order, from Z-A or 10-1.

Style tab

Determine the look and feel of menu items and controls.

Style Products WooCommerce Product Categories widget 47

Control how the categories are displayed:

  • Columns Gap: Control the amount of space between the categories in a row.
  • Rows gap: Control the amount of space between the rows of categories.
  • Alignment: Have the categories appear:
    • Align left WooCommerce Product Categories widget 49 Flushed to the left.
    • align center WooCommerce Product Categories widget 51 Centered
    • align right WooCommerce Product Categories widget 53 Flushed to the right. 

You can add images to your categories using the WooCommerce plugin. If your categories have images you can style these images:

  • Border Type: Use the dropdown menu to add a border around the images. If you add a border, you can choose:
  • Border Radius: For details, see Border radius tools.

You can adjust the amount of area between the image and category data.

  • Spacing: Use the slider to adjust the amount of space between the image and category data.

Set the color and typography of the category titles. 

  1. Color: For details, see Choose a color or Use global fonts and colors.
  2. Typography: Set the font type and size. For details, see Typography.

The bumber of products within a category appears alongside the category name. Set the color and typography of these numbers. 

  1. Color: For details, see Choose a color or Use global fonts and colors.
  2. Typography: Set the font type and size. For details, see Typography.

Advanced tab

Control the placement of your widget, insert links, add custom code and more.

Advanced WooCommerce Product Categories widget 55

Learn more about the Advanced tab settings.

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article