WooCommerce · Elementor

WC Products Categories widget for Elementor

A grid of product categories (image + title), not the products themselves.

Open live demo

Get King Addons

This page describes the PHP/JS for this widget — not a renamed stub. Install the free plugin from WordPress.org.

Get King Addons

What it actually does

A grid of product categories (image + title), not the products themselves.

Woo Shortcode Product Categories widget. Renders product categories using [product_categories] shortcode.

Output depends on WooCommerce objects (products, cart, or account). Empty without WooCommerce data.

How to add it in Elementor

  1. Install King Addons. Install Elementor and King Addons. Get King Addons from WordPress.org.
  2. Edit with Elementor. Open a page and click Edit with Elementor.
  3. Insert the widget. Search the panel for “WC Products Categories”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “Number of Categories”, “Columns”, “Order By”, “Order”. Style and Content tabs are listed on this page.

When to use it

Tip: After King Addons is active, type king in the Elementor search box to list every widget, including WC Products Categories.

Inspector controls from this widget’s PHP

ControlWhat the code does
Display Settings — Number of CategoriesLeave empty to show all categories.
Display Settings — ColumnsThe chosen value is read in render() and applied on the front end. Options: 1; 2; 3; 4; 5; 6.
Display Settings — Order ByThe chosen value is read in render() and applied on the front end. Options: Name; Slug; Description; Product Count; Menu Order. Description.
Display Settings — OrderThe chosen value is read in render() and applied on the front end. Options: Ascending; Descending.
Display Settings — Hide Empty CategoriesSwitcher inspector control (`hide_empty`).
Display Settings — Parent Category IDEnter a parent category ID to show only its children. Leave empty to show all.
Display Settings — Specific Category IDsEnter comma-separated category IDs to display specific categories only.
Category Item — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Category Item — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Category Item — BorderElementor border group: type, width, color, and radius when the group includes it. Selector: `{{WRAPPER}} ul.products li.product-category`.
Category Item — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Category Item — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} ul.products li.product-category`.
Category Item — Row GapWrites CSS `margin-bottom` onto the widget’s front-end markup. (min 0, max 100).
Category Image — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.
Category Image — SpacingWrites CSS `margin-bottom` onto the widget’s front-end markup.
Category Title — ColorWrites CSS `color` onto the widget’s front-end markup.
Category Title — Hover ColorWrites CSS (a, color) onto the widget’s front-end markup.
Category Title — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} ul.products li.product-category .woocommerce-loop-category__title`.
Category Title — MarginWrites CSS `margin` onto the widget’s front-end markup.
Product Count — ColorWrites CSS `color` onto the widget’s front-end markup.
Product Count — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} ul.products li.product-category .count`.
Product Count — Background ColorWrites CSS `background-color` onto the widget’s front-end markup.
Product Count — PaddingWrites CSS `padding` onto the widget’s front-end markup.
Product Count — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup.

Content and Style tabs from this widget’s PHP, including repeater fields and group controls (typography, background, border, shadow). Elementor’s Advanced tab is core Elementor and is not listed here.

FAQ

Which WC Products Categories options need King Addons Pro?

Controls marked with the Pro icon in this widget’s PHP. King Addons Pro is a separate license from Elementor Pro.

Does WC Products Categories require WooCommerce?

Yes. Install WooCommerce and add products (or complete a cart) before this widget has anything to show.

Do I need Elementor Pro?

No. King Addons runs on free Elementor. Some King Addons options (for example template-in-accordion, extra popup conditions, parts of the template catalog) need King Addons Pro — not Elementor Pro.

Related woocommerce widgets

Get King Addons

One free plugin. 80+ Elementor widgets, 650+ templates, and 4,000+ sections. Search for WC Products Categories after you activate it.

Get King Addons