What YITH WooCommerce Compare does in your store
YITH WooCommerce Compare adds a product comparison tool to a WooCommerce store, and it won’t activate without it. A “Compare” button, text link or checkbox shows up in product lists, on the single product page or both, and also in WooCommerce block product grids. The selected products open in a table, displayed in an overlay, that lines up their details: image, title, price, add to cart button, description, SKU, rating, availability, weight, dimensions and WooCommerce attributes.
The comparison list isn’t saved in the database. It lives in a session cookie, YITH_WooCompare_Products_List, which only holds product IDs and is gone once the browser closes, so guests can compare without an account. A bar at the bottom of the page keeps the selected products in view, and two widgets plus the [yith_compare_button] and [yith_woocompare_counter] shortcodes let you place the button or a counter elsewhere.
The Italian developer YITH publishes the free version on wordpress.org and sells a Premium version. Settings live under YITH > Compare in the dashboard, in two tabs: “General settings” and “Comparison tables.”
Which stores benefit from a YITH comparison table
A comparison table helps when shoppers are torn between similar products and the difference comes down to measurable specs:
- Electronics and appliances: capacity, power, dimensions and weight side by side, without opening every product page.
- Technical or professional equipment whose product pages rely on well-filled WooCommerce attributes.
- Large catalogs with several ranges of the same product, where the shopper has to pick the right model.
- Stores without customer accounts, since comparison works for every visitor.
It adds nothing to a store of one-off items (handmade, secondhand), to apparel where only size and color change, or to a catalog whose attributes are empty: the table would have nothing to show. If you want to limit comparison to one category or to a set number of products, or place a fixed table on a page, the free version won’t be enough.
YITH WooCommerce Compare strengths and limitations
Strengths
- Works without building a page. The button is placed automatically and the table opens in an overlay as soon as the plugin is active.
- Columns you choose. You tick the fields and attributes to display and reorder them by drag and drop.
- Nothing stored on the server. The session cookie only holds product IDs and is cleared when the browser closes.
- Customizable from your theme. Templates can be copied into your theme’s
woocommercefolder, and the developer states WPML compatibility.
Limitations
- Little control over comparisons. The free version has no setting to cap the number of products, restrict comparison to one category or exclude a product.
- Advanced options sit in Premium. Fixed tables via shortcode, suggested products, frozen columns, highlighted differences and a mobile-first design.
- Styles load everywhere. Its stylesheets are added to every public page, even pages with no “Compare” button.
- Patchy translations. The bundled French file translates only 14 strings and no French translation is published on translate.wordpress.org, unlike Spanish, Italian and Dutch.
The comparison settings we recommend
Paths start from the YITH > Compare menu (version 3.16). Tab and setting names are given as they appear in the plugin’s English interface.
| Setting | Recommended value | Why |
|---|---|---|
| Product attributes Products > Attributes (WooCommerce) | Global attributes filled in on every comparable product | The table only shows what product pages contain: without attributes, it shrinks to price and description. |
| “In comparison table show” “Comparison tables” | Useful attributes, price, availability and the add to cart button | Every field is shown by default. Untick the description and the “Repeat price” and “Repeat Add to cart” rows if the table is short. |
| “Image format” “Comparison tables” | “Use thumbnail” (default) | Fixed-size thumbnails, lighter than the original images. |
| “Table title” “Comparison tables” | A title in your store’s language | Shoppers see this title, so make sure it matches the store’s language. |
| “Compare style” “General settings” | “Button” (default), or “Checkbox” in busy grids | The checkbox takes up less room next to the add to cart button. |
| “Link/Button label” “General settings” | “Compare” or a label in your store’s language | The saved text is what shoppers see: check it after installing. |
| “Show compare in” “General settings” | “Product pages” or “Both,” depending on how your customers shop | In product lists the button helps shortlist; on the product page it serves shoppers already torn between two models. |
| Automatic updates Plugins > Installed Plugins | Enabled for YITH WooCommerce Compare | Two vulnerabilities were fixed in 2026, and the latest version includes both fixes. |
- In a private window, add two products to the comparison, open the table, then remove one: the bottom bar should keep up.
- If you use a page cache, repeat the test after clearing it, on a category page and on a product page.
- Open the table on a phone with three products and check that it stays readable.
- Add the
YITH_WooCompare_Products_Listcookie to the cookie list in your privacy policy. - To fix untranslated labels on a non-English store, translate the plugin with Loco Translate and save the translation outside the plugin folder.
YITH WooCommerce Compare security: few flaws, moderate impact
Patchstack lists six vulnerabilities fixed since 2016, with none open. The three most recent, rated medium by WPScan:
- April 2024, CVE-2024-32699: a CSRF flaw let an attacker add or remove products from an administrator’s comparison by getting them to open a crafted link, with no real impact according to WPScan. Versions up to 2.37.0, fixed in 2.38.0.
- February 2026, CVE-2026-22333: deserialization of untrusted data, exploitable only by an administrator and harmless unless another plugin provides a usable object chain. Versions up to 3.6.0, fixed in 3.7.0.
- October 2026, CVE-2026-106604: a stored XSS flaw exploitable with a Contributor account, in versions up to 3.15.0, fixed in 3.15.1.
What to do: turn on automatic updates (see our guide to deciding), run at least version 3.15.1 and give the Contributor role only to people you trust. WP Feint Pro renames the plugin folder in its file URLs and removes its name from the IDs of its script and stylesheet tags, which makes it harder for bots to spot without replacing the update; the yith_woocompare JavaScript variable and the yith-woocompare-* classes stay visible.
What WP Feint hides for YITH WooCommerce Compare
Pro Handled by WP Feint Pro only
The free version does not know the traces specific to YITH WooCommerce Compare: without Pro, only generator tags are removed, as for any plugin.
Free version
Handled by WP Feint Pro only
With Pro
- folder name
- tag IDs
Still visible
- JavaScript variables
yith_woocompare - CSS classes
yith-woocompare-*
These traces stay because the plugin needs them to work (scripts, styles, cookies) or because they come from the server.
YITH WooCommerce Compare FAQ
Are compared products kept from one visit to the next?
No. The list lives in a session cookie that is cleared when the browser closes, even for logged-in customers. To set products aside, a wishlist such as YITH WooCommerce Wishlist is a better fit.
Can the table be shown on a page instead of an overlay?
Not with the free version, which opens the table in an overlay. Choosing between a page and an overlay, like fixed tables inserted via shortcode, is part of Premium.
How do I change how the table looks?
Copy the template you need from the plugin’s templates folder into the woocommerce folder of your child theme, then edit the copy: it survives plugin updates.
How much does the Premium version cost?
€79.99 per year excluding tax on the YITH website, with one year of updates and support and a 30-day money-back guarantee. The license renews at the same price after the first year.