Product Attributes Display For WooCommerce

Guide for

Product Attributes Display for WooCommerce

  • WooCommerce
  • Free
  • 4 min read
  • Updated Nov 27, 2026

Show any WooCommerce product attribute — color, width, size, material — exactly where you want it in your block theme: under the product title or price, inside product grids, or anywhere in the Site Editor.

Overview

WooCommerce normally lists product attributes only in the “Additional information” tab. This plugin adds a block that shows the value of any attribute exactly where you want it in a block theme, for example Color: Walnut, Natural Oak, Black under the product title, or Width: 60, 90, 120 cm inside a product grid.

Block theme required: The plugin provides a block, so it needs a theme that supports block templates, such as Twenty Twenty-Four or Twenty Twenty-Five.

Before you start

RequirementMinimumNotes
WordPress6.5Tested up to 7.1.4
WooCommerce8.0Required
PHP7.4
ThemeBlock themeOr a theme that supports block templates
MultisiteNot yet verified

Install and activate

Note: This plugin works only in the WordPress Gutenberg (block) editor. Make sure your theme supports block templates to use the attribute blocks. Classic editor and unsupported classic themes are not supported.

From your WordPress dashboard

  1. Make sure WooCommerce is installed and active.
  2. Go to Plugins → Add New Plugin and search for Product Attributes Display For WooCommerce
  3. Click Install Now, then Activate.

From a ZIP file

  1. Download the plugin ZIP.
  2. Go to Plugins → Add New Plugin → Upload Plugin and upload it, or extract it and upload the product-attributes-display folder to /wp-content/plugins/.
  3. Activate it under Plugins → Installed Plugins.

Show an attribute on your product pages

  1. Create or reuse attributes under Products → Attributes, and give your Attribute values for them (for example colors or widths).
  2. Go to Appearance → Editor → Templates and open the Single Product template, or a template with a Product Collection block.
  3. Click the block inserter (+) and search for the attribute name, for example, Color. Insert it inside the product area.
  4. In the block settings sidebar, set an optional Prefix (such as Width:) and Suffix (such as cm).
  5. Save the template and view a product.

A block appears in the inserter automatically for every global attribute (the ones under Products → Attributes).

Block settings

SettingWhat it does
Attribute slugWhich attribute to show. Blocks from the inserter fill this in for you.
PrefixText before the value, such as Color:
SuffixText after the value, such as cm

Several values are shown as a comma-separated list. If a product has no value for the attribute, the block outputs nothing, so you never see an empty label.

Global and custom attributes

Attribute typeWhere it is createdSlug to use
GlobalProducts → AttributesThe taxonomy name with the pa_ prefix, for example pa_color or pa_width
Custom (product-level)On a single product, in the Attributes tabThe attribute name in lowercase with spaces replaced by hyphens. “Fabric Type” becomes fabric-type

To show a custom attribute, insert any attribute block and change its Attribute slug to the custom attribute’s slug.

Where the block works

Anywhere a product is available to blocks:

  • The Single Product template
  • Inside the Product Collection block’s in catalog template

Note: This block will not work outside WooCommerce blocks or templates.

Style the output

The block renders a paragraph with the class wp-block-pkart-shop-attributes plus the attribute slug as a class (for example pa_color). Inside it:

.wp-block-pkart-product-attributes-display__prefix
.wp-block-pkart-product-attributes-display__value
.wp-block-pkart-product-attributes-display__suffix

You can also add your own class in the block’s Advanced settings panel.

Troubleshooting

My attribute is not in the block inserter

Automatic blocks are created only for global attributes. Create the attribute under Products → Attributes, or insert any attribute block and set the custom attribute’s slug.

The block is empty on some products

That product has no value for the selected attribute, or the block is outside a product context. Add a value on the product, or move the block inside the product area of the template.

I use a classic theme

The plugin needs a theme that supports block templates. Classic themes are not supported unless they support block templates.

Frequently asked questions

Is it free?

Yes. There is no license fee.

Does it need WooCommerce?

Yes. WooCommerce 8.0 or later must be active.

Does it slow down my site?

The block is rendered on the server, loads no front-end JavaScript, and adds no database tables or options.

Is it compatible with HPOS?

Yes. It declares compatibility with High-Performance Order Storage and the Cart and Checkout blocks, and it does not read or write order data.

Is it translation-ready?

Yes. All strings use the product-attributes-display text domain.

Privacy and data

The plugin only displays product data that is already on your site. It does not collect personal data or read order data.

For developers

Use the CSS classes above for styling. Strings use the product-attributes-display text domain if you want to translate the plugin.

Get help

Still stuck? Open a support ticket or email [email protected]. Replies come from the developers who built the plugin, usually within 1–2 business days. To help us help you faster, include your platform version, the plugin version, your theme, and the steps you took.