sandywp / plugins / product-specifications
Product Specifications & Comparison for WooCommerce
Group product specifications into sets for each kind of product, show them in a table, and let customers compare products side by side.
Ready in seconds.
v2.1.0 1,000+ installs WP 7.0+ PHP 8.1+

What you get inside
8 screens-
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 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 Number specification with units, decimal places and bounds.
-
The set editor: drag specifications from the library into groups.
-
The Specification sets screen.
-
The Settings screen.
About this plugin
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:
- Check that your site runs WordPress 7.0, WooCommerce 9.2 and PHP 8.1 or newer.
- Take a backup of your database. The migration changes data in place.
- Update the plugin at a quiet time.
- Go to WooCommerce > Product Specifications > Migration and click Start migration.
- 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.
Questions
- How do I add a specifications table to a WooCommerce product?
Create your specifications, add them to a published specification set, then choose the set in the product’s Product specifications panel and fill in the values. See Installation above for the steps.
- How is this different from WooCommerce product attributes?
Attributes are plain text terms meant for variations and filtering. Specifications have types, units and groups, are reused through sets, and are checked when the product is saved. You can still show attribute values in the table with the WooCommerce product data type.
- Can I show the table somewhere other than the product tab?
Yes. Add the Product Specifications block in the block editor, or use the
[specs-table]shortcode in any page builder or classic theme.[specs-table post_id="123"]shows another product’s table.- Can shoppers compare products?
Yes. A Compare button on the product page opens the compare page, where shoppers add more products of the same kind and see them side by side. Turn comparison on or off for each set on its Comparison tab, and choose the compare page, the button’s place and its label under Settings.
- Can shoppers compare products from different categories?
They can compare any products that use the same specification set, whatever their category. Products from different sets can’t share a comparison, because their rows would not line up.
- Does the comparison work on phones?
Yes. On a narrow screen each specification’s name moves above its values, so up to three products fit side by side without scrolling sideways.
- Can I put the Compare button on product cards or somewhere else?
Yes. Add the Compare Button block anywhere, including product loops in block themes, or use the
[specs-compare-button]shortcode. To stop the automatic button on product pages, choose “Don’t add” under Settings.- Does it work with my theme and page builder?
The product tab works with any theme that shows WooCommerce product tabs. Block themes can place the block in the single product template, and page builders such as Elementor can use the shortcode.
sandywp / also on the shelf
Try another plugin
4.1 · 100K+ installs
YITH WooCommerce Compare allows you to compare more products of your shop in one complete table. WooCommerce Compatible up to 11.3
Addonify – Compare Products For WooCommerce
5.0 · 1K+ installs
Addonify Compare Products is a WooCommerce extension that allows website visitors to compare multiple products on your online…
Ever Compare – Products Compare Plugin for WooCommerce
4.5 · 600+ installs
Ever Compare is a WordPress plugin for product compare, is a powerful tool that helps you to enable compare button for…
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.