跳到内容

Product Specifications & Comparison for WooCommerce

v2.1.0

Dornaweb · 2017年1月18日 上架

Group product specifications into sets for each kind of product, show them in a table, and let customers compare products side by side.

正在使用
1,000+
评分
4.7 / 5
累计下载
5.1 万
最近更新
2026年11月22日
26 条评价需要 WordPress 7.0+已测试到 7.1.5PHP 8.1+

截图

The specifications table on a product page, with text, number, yes or no, date and SKU values.
The specifications table on a product page, with text, number, yes or no, date and SKU values.
The Product specifications panel on the product screen. The SKU is read from the product.
The Product specifications panel on the product screen. The SKU is read from the product.
The Specifications screen: every specification, its type and the sets that use it.
The Specifications screen: every specification, its type and the sets that use it.
A WooCommerce product data specification shows a value the product already has, such as its SKU.
A WooCommerce product data specification shows a value the product already has, such as its SKU.
A Number specification with units, decimal places and bounds.
A Number specification with units, decimal places and bounds.
The set editor: drag specifications from the library into groups.
The set editor: drag specifications from the library into groups.
The Specification sets screen.
The Specification sets screen.
The Settings screen.
The Settings screen.

When shoppers choose between similar products, they look at the details: screen size, weight, battery life, warranty. Product Specifications & Comparison for WooCommerce puts those details in a clear specifications table on every product page, and lets shoppers compare products side by side.

You define each specification once, group specifications into a set for each kind of product, such as laptops, sofas or running shoes, and fill in the values on the product screen. The table and the comparison read the same values, so there is nothing to keep in sync.

Try the live demo. It opens a sample store with products and specifications right in your browser, using WordPress Playground. Nothing to install or sign up for.

Upgrading from 0.x? Read this first

Version 2 stores specifications in a new format. Your specification tables stay hidden from the storefront until you run the migration. Plan the update before you click it:

  1. Check that your site runs WordPress 7.0, WooCommerce 9.2 and PHP 8.1 or newer.
  2. Take a backup of your database. The migration changes data in place.
  3. Update the plugin at a quiet time.
  4. Go to WooCommerce > Product Specifications > Migration and click Start migration.
  5. The migration runs in the background. You can leave the screen and come back later to see what it converted.

The migration guide explains what changes and how to update custom code.

Product specifications

A specification here is more than a line of text. A number keeps its unit, such as 15.6 in or 2.1 kg, and can be a range such as 100–240 V. A datasheet becomes a download link, and a yes or no shows as a check mark. Details WooCommerce already knows, like SKU, weight, dimensions and brand, can sit in the same table without being typed twice.

The table shows in a Specifications tab on the product page. You can also place it with the Product Specifications block or the [specs-table] shortcode.

It suits stores whose shoppers decide on details: electronics, hardware and tools, auto parts, appliances, furniture, fashion, cosmetics, books and music.

Product comparison

A shopper clicks Compare on a product page and lands on a comparison table with that product. From there they add other products of the same kind, and every row lines up: the same specifications, in the same groups and order. A phone and a sofa never end up in the same table.

The whole comparison lives in the link, so shoppers can bookmark it or send it to someone. No account is needed. On a phone, each specification’s name moves above its values, so three products still fit side by side.

You choose which kinds of products can be compared, where the Compare button goes, and how many products fit in one comparison. The Product Comparison and Compare Button blocks, and their shortcodes, let you put both anywhere.

Why use specifications instead of product attributes?

WooCommerce attributes are built for variations and filters. They hold plain text, sit in one flat list, and every value is a term. A specification has a type: a number with a unit, a range, a date, a datasheet download, a link or a yes or no. Specifications are grouped, ordered per set, and checked when the product is saved. And you can still show attribute values in the table when you need them.

Features

  • Specification library. Define a specification once and use it in any number of sets. Search it, filter by type, and see which sets use it.
  • Specification types. Text, paragraph, single select, yes or no, number, date, link, document and WooCommerce product data.
  • Numbers with units. 17 unit kinds, such as length, weight, data size, voltage and power, or units you define. Ranges, decimal places, thousands separators, minimum and maximum.
  • WooCommerce product data. Show weight, dimensions, SKU, GTIN, categories, tags, brands or any product attribute. They are read from the product each time, so they never go stale.
  • Documents. Attach datasheets, manuals and certificates from the media library. Shoppers get a download link with the file type and size.
  • Set editor. Drag specifications into groups, and create new ones without leaving the editor.
  • Quick product entry. Every value gets the right input, with suggestions from your other products.
  • Product comparison. A Compare button, a comparison page and a shareable link, turned on per set.
  • Display anywhere. A product tab, blocks for block themes, and shortcodes for page builders and classic themes.
  • Replace the Additional information tab. Hide WooCommerce’s own tab when a product has specifications, or always.
  • Theme friendly. Light markup with clear CSS classes. Turn off the plugin stylesheet and style it all in your theme.
  • Import and export. Move specifications, sets and product values between stores as one file, with a preview before anything changes. Products are matched by SKU or slug, and WP-CLI commands are included.
  • Translation ready. Every screen can be translated on translate.wordpress.org.
  • For developers. A documented PHP API to read and write values, hooks to change the table and the comparison, and custom specification types.

Documentation

The user guide covers every screen and specification type. The developer documentation covers the PHP API, hooks and custom types.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums