What is YITH WooCommerce Compare plugin?
YITH WooCommerce Compare is a free WooCommerce extension that allows shoppers to add multiple products to a comparison table, displaying product attributes side by side so customers can evaluate differences before purchasing. The comparison table pulls WooCommerce product attributes (size, color, material, weight, dimensions, or any custom attribute defined on the product) into columns — one column per product — giving shoppers the data they need to make an informed decision without navigating between individual product pages.
The free version provides the core comparison table with basic styling. The premium version adds more customization over which fields appear in the comparison table, a floating comparison bar that persists as customers browse, compatibility with YITH Wishlist so customers can move products between wish list and compare, and integration with YITH Request a Quote to let customers request pricing on compared products directly from the table. YITH WooCommerce Compare is particularly valuable for stores selling electronics, appliances, furniture, or any category where shoppers routinely evaluate competing specifications.
The plugin is entirely from the YITH ecosystem, which means it integrates naturally with other YITH plugins but works equally well as a standalone extension. For stores that primarily sell simple products without differentiating attributes, the comparison table adds less value. For stores with specification-rich products, it directly reduces comparison shopping on external sites and keeps the purchase decision within the store.
Need Help With YITH WooCommerce Compare Setup, Troubleshooting, or Customization?
Need help with YITH WooCommerce Compare? Whether you are dealing with errors, broken functionality, styling problems, plugin conflicts, or advanced customization, we can help you fix the issue and get the plugin working properly on your WordPress site.
Get YITH WooCommerce Compare Expert HelpKey Features
- Side-by-side product comparison table using WooCommerce attributes
- "Add to Compare" button on product pages and shop/category pages
- Floating comparison bar with product thumbnails (Premium)
- Configurable table fields — show/hide specific attributes
- Widget for displaying current compare list in sidebar
Pros & Cons
Pros
- Free version covers core comparison functionality without payment
- Pulls directly from WooCommerce product attributes — no duplicate data entry
- Reduces comparison shopping on Google or competitor sites by keeping it in-store
Cons
- Premium required for floating bar — a key UX feature that keeps compare accessible while browsing
- Table styling requires CSS for most theme alignments
Free vs Premium
Free: comparison table, add to compare button, basic widget. Premium (~$79.99/year): floating comparison bar, advanced field control, YITH Wishlist and Request a Quote integration.
Common Problems & Fixes
The YITH Compare table shows blank cells for some product attributes — not all products have values in certain rows. How do I fix this?
Blank cells appear when a product does not have a value assigned for a specific WooCommerce attribute. In WooCommerce → Products → [product] → Attributes tab, add the missing attribute with its value. The compare table shows all attributes defined on any of the compared products — if Product A has a “Battery Life” attribute and Product B does not, Product B’s Battery Life cell shows blank. Ensure all products intended for comparison have the same attribute set defined, even with “N/A” values where not applicable.
The YITH Compare button is not appearing on product pages — the "Add to Compare" button is missing from the product layout. How do I add it?
Go to YITH → Compare → Settings and verify the button position is configured (typically “After add to cart” or “Before add to cart”). If the position is set but the button still does not appear: (1) your theme may not hook into the standard WooCommerce product page hooks — check if your theme uses custom product templates that bypass standard WooCommerce hooks; (2) a caching plugin may be serving a cached page that predates the plugin activation; (3) use the shortcode [yith_compare_button] to manually place the button in your product page template if automatic positioning fails.
YITH Compare table loads slowly — displaying the comparison table takes several seconds. How do I improve performance?
The comparison table loads product data via AJAX. Slow loading is usually a server response time issue: (1) enable object caching (Redis or Memcached) to cache product meta queries; (2) ensure products being compared have their attributes cached — first load may be slower; (3) reduce the number of attributes shown in the table by excluding non-essential ones in YITH Compare settings; (4) check if page caching is interfering with the AJAX comparison table load — exclude the comparison page URL from full-page caching.
Customization & Developer Notes
How do I control which product attributes appear in the YITH Compare table?
Go to YITH → Compare → Settings → Fields tab. Here you configure which WooCommerce product data fields appear as rows in the comparison table: price, rating, add to cart, description, and all defined WooCommerce attributes. Enable or disable each field using the toggles. Drag rows to reorder the display sequence in the table. For custom WooCommerce attributes created in Products → Attributes, they appear in this list automatically once defined and assigned to products.
How do I add a "Compare" link to category and shop pages using YITH Compare?
In YITH Compare settings, enable “Show Compare button in catalog” (shop and category pages). The plugin adds an “Add to Compare” button to product cards on shop and category archive pages. For themes with custom product card templates that bypass WooCommerce’s woocommerce_after_shop_loop_item hook, manually add the button shortcode [yith_compare_button] to the product loop template in your child theme.
Frequently Asked Questions
Can customers compare products from different categories using YITH Compare?
Yes — customers can add any products from the store to the comparison table, regardless of category. However, cross-category comparisons may produce sparse tables if product attributes differ significantly between categories. For best results, configure YITH Compare to limit the maximum number of comparable products (typically 3-4) and optionally restrict comparison to same-category products using custom code.
Does YITH Compare work with variable products?
Yes — YITH Compare adds variable products to the comparison table, displaying the parent product’s attributes. Variation-specific attributes appear as the parent variable product’s attributes in the table. The compare table does not show per-variation pricing for variable products — it shows the price range.
Can YITH WooCommerce Compare break after updates?
Yes, that can happen, especially on older sites with many plugins. This usually happens when the plugin, theme, and add-ons are updated out of sequence. In most cases, testing on staging catches the issue before it reaches the live site. From experience, backups and changelog reviews save a lot of cleanup time.
What should I check before installing YITH WooCommerce Compare?
Start by checking whether another plugin already does the same job. In most cases, overlap is what creates avoidable conflicts and performance issues. A common issue is installing a plugin because it looks convenient without checking the stack first. From experience, a short compatibility review avoids most of the pain later.