Linux 软件免费装
Banner图

Versus - Product Compare for WooCommerce

开发者 motylanogha
更新时间 2026年10月24日 02:53
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce comparison table compare products product compare product comparison

下载

1.0.13 1.0.9 1.0.10 1.0.19 1.0.8 1.0.11 1.0.12 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.20 1.0.22

详情介绍:

Versus adds a "Compare" button to your WooCommerce shop, archive and single product pages. Shoppers compare products side by side in a WooCommerce comparison table, with product data kept inside your store. Versus is developed in the open. The code, and a place to report bugs or request features, live at github.com/wppoland/plogins-versus. The table shows the product image, name, price, SKU, availability and short description, plus a row for every product attribute (colour, size, material and more). Rows whose values differ between products are highlighted, and a single toggle hides everything that is identical so the real differences stand out. Documentation and links Built for speed and accessibility Settings A WooCommerce-capability settings page (Versus menu) lets you: Translation ready All strings are translatable through the plogins-versus text domain, and a plogins-versus.pot template ships in /languages. Deleting the plugin removes its options and the comparison table. How it works Adding or removing a product is a single nonce-verified AJAX request; no full page reload. Guest selections are kept in a per-browser cookie for six months and merged into the account on login. The CSS and JavaScript are enqueued only on pages that actually show the compare button or the table.

安装:

  1. Upload the plugin to /wp-content/plugins/plogins-versus, or install via Plugins > Add New.
  2. Activate it. WooCommerce must be active.
  3. Visit the Versus menu in wp-admin to choose the compared fields and placement.

屏幕截图:

  • The Versus settings screen.

升级注意事项:

1.0.22 Guests can open their comparison table without logging in. 1.0.21 The compare button now appears in block-theme product grids such as the Product Collection block. 1.0.20 The comparison page no longer answers 404 on a new install, and a cleared storefront label returns to its default. 1.0.19 Security release. Unpublished and password-protected products can no longer be added to or shown in a compare list.

常见问题:

Does it require WooCommerce?

Yes. Versus requires an active WooCommerce installation.

Does it use jQuery?

No. The plugin's own front-end script is vanilla JavaScript with no jQuery dependency.

Can guests compare products?

Yes, when "Allow guests" is enabled. A guest's comparison is stored per browser, and the View comparison link opens their table without an account: on the My Account Compare address above the login form, or on a page of your choice that holds the [versus] shortcode (set it under "Comparison page for guests"). That page is excluded from page caching, since each visitor sees their own list. When the guest logs in, the list is merged into their account.

Where does the compare button appear?

On shop and archive loops (classic templates and block-theme product grids such as the Product Collection block) and on the single product page, depending on your settings. The comparison itself opens on the My Account "Compare" tab. A guest sees the same table there above the login form, or on the comparison page you chose for guests.

What fields appear in the comparison table?

The table can show product image, name, price, SKU, availability, short description and product attributes such as size, colour or material.

Can shoppers hide identical rows?

Yes. Difference highlighting and a "differences only" toggle help shoppers focus on what actually changes between compared products.

Does the product compare list work for logged-in customers?

Yes. Logged-in customers get a My Account Compare tab. Guest compare lists can be merged into the account after login.

Does this plugin work on WordPress Multisite?

Yes. This plugin is compatible with WordPress Multisite. Network activate it or activate it on individual sites; each site keeps its own settings and data.

更新日志:

1.0.22 1.0.21 1.0.20 1.0.19 1.0.18 1.0.17 1.0.16 1.0.15 1.0.14 1.0.13 1.0.12 1.0.11 1.0.10 1.0.9 1.0.8 1.0.6 1.0.4 1.0.3 1.0.2 1.0.1 0.2.1 0.2.0 0.1.0