Zum Inhalt springen

Versus

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

Versus adds a Compare button to your WooCommerce shop loops and single product pages. Shoppers collect products into a list and Versus shows them in a side-by-side table with a row per field, highlighting the rows whose values differ. Logged-in customers reach their comparison under My Account → Compare; guests open it at a dedicated versus-compare endpoint.

The comparison table scrolls horizontally inside its own wrapper, so adding columns never reflows the page (no Cumulative Layout Shift). Adding or removing a product is a single nonce-verified AJAX request, no page reload, no jQuery. The free edition is the full GPL product: all comparison data stays in your own database, and Versus contacts no external service.

  • Compare button added automatically on shop and archive loops and on the single product page, each placement toggled independently.
  • Side-by-side table with a column per product (image, name, add-to-cart and remove controls in the header) and a row per enabled field.
  • Choosable rows, price, SKU, availability and short description, plus an optional row for each product attribute (colour, size, material).
  • Difference highlighting with a “show only differences” toggle that can default to on.
  • Guest and customer lists, guests get a per-browser list kept for six months; logged-in customers get a Compare tab in My Account, and a guest list merges into the account on login.
  • Per-list cap of 2-6 products, when a shopper exceeds it, the oldest item drops off automatically so the table never grows unreadably wide.
  • Editable front-end labels, compare button, remove button, compare link, differences toggle, clear-all button and empty-list message, with translated fallbacks.
  • Accessible, no-jQuery front end, aria-pressed buttons, a polite live region for screen-reader announcements, a live count badge on the compare link, and graceful handling of network failures and double clicks.

The compare button toggles a product on the shopper’s list over AJAX, updating its aria-pressed state and the count badge in place. Guests build a list stored in a versus_compare_session cookie; logged-in customers store it in the database against their user id, and a guest list is transferred to the account on login. The comparison table renders each product as a column and marks every row whose values differ, so shoppers focus on what actually separates the products.

  • Free on WordPress.org, side-by-side comparison with difference highlighting, guest and customer lists, editable labels and a settings page for placement and fields.
  • Pro (planned), companions hook the versus/booted action to extend the storefront. Specific Pro features are not yet shipped; see plogins.com/versus for the current roadmap.

Polski for WooCommerce includes product comparison. Do not install Versus if that module is enabled. See Standalone storefront plugins in Polski.