[WordPress] 外掛分享: Versus – Product Compare for WooCommerce

首頁 › 外掛目錄 › Versus – Product Compare for WooCommerce
WordPress 外掛 Versus – Product Compare for WooCommerce 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
13 天前
最後更新
—
問題解決
WordPress 6.5+ PHP 8.1+ v1.0.20 上架:2026-08-20

內容簡介

Versus 是一款專為 WooCommerce 設計的產品比較外掛,允許顧客在商店中輕鬆比較產品。使用者可以在比較表中並排查看產品的各項數據,幫助他們做出更明智的購買決策。

【主要功能】
• 在 WooCommerce 商店中添加比較按鈕
• 支援最多 6 件產品的並排比較
• 自訂比較表顯示的標準欄位
• 亮顯不同的產品屬性
• 訪客和顧客皆可使用比較功能
• 支援多語言翻譯

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.20) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Versus – Product Compare for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

Documentation: plogins.com/plogins-versus/docs/
Plugin page: plogins.com/plogins-versus/
Source code: github.com/wppoland/plogins-versus
Bug reports and feature requests: github.com/wppoland/plogins-versus/issues

Built for speed and accessibility

No jQuery in the plugin’s own front-end code, the script is vanilla JS, deferred and loaded in the footer.
No layout shift (CLS). The comparison table scrolls horizontally inside its own wrapper, so adding columns never reflows the page.
Keyboard friendly. The compare buttons are real buttons with aria-pressed state that updates over AJAX.
Guests and customers. Logged-out visitors build a comparison stored per browser; logged-in customers get a “Compare” tab in My Account, and a guest list is merged into the account on login.

Settings
A WooCommerce-capability settings page (Versus menu) lets you:

Enable or disable comparison and set how many products can be compared at once (2-6).
Choose where the compare button appears (loops, single product) and whether guests can use it.
Choose which standard fields appear as rows (price, SKU, availability, short description) and whether to include product attributes.
Toggle difference highlighting, the “differences only” default, and the image / add-to-cart / remove controls in each column header.
Customise the front-end strings, the compare button, remove button, compare link, differences toggle, clear-all button and empty-list message, or leave them on their translated defaults.

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.
Plogins Versus PRO
The free plugin is complete for what it does: a Compare button and a comparison
set, with nothing time-limited and no account to create. Plogins Versus PRO
is a separate add-on that turns that set into a real comparison page:

Comparison page shortcode – [versus_compare] renders the shopper’s set as a side-by-side table with price, SKU, stock, weight, dimensions, description and every product attribute
Configurable rows – choose which rows appear and cap how many products can be compared at once
Difference highlighting – mark the rows where compared products actually differ
Sticky compare bar – a persistent bar listing the selected products, linking straight to the comparison page
Export – download the comparison as CSV or PDF, or print it
Category-scoped compare – keep comparisons to like-for-like products

Versus PRO requires the free plugin and does not replace it. If the free plugin
is missing or disabled, PRO stays dormant and says so rather than half-working.

Plogins Versus PRO – plogins.com/versus-pro/
Pricing – plogins.com/versus-pro/pricing/

External Services
Versus does not connect to, or send any data to, any external service or third-party server. It bundles no SDK, API client, web font, map tile, CDN asset or analytics call, everything runs on your own site.
Comparison data stays inside your WordPress database: a custom {prefix}versus_compare_items table holds the compared product IDs, the plugin settings live in the versus_settings option (with versus_db_version tracking the schema), and a guest’s selection is kept in a first-party cookie in their own browser. Adding or removing a product is a same-origin AJAX request to your site’s own admin-ajax.php; no outbound HTTP request is ever made. Deleting the plugin removes those options and drops the table.
Translations
Versus is fully translatable and ships the plogins-versus.pot template. Translations are delivered by WordPress.org language packs from translate.wordpress.org, which is where Polish, German and Spanish are being contributed; the package itself carries no compiled translation files.

延伸相關外掛

文章
Filter
Mastodon