內容簡介
使用Product Specifications外掛程式,您可以輕鬆地為產品建立規格表格。您可以建立多個表格,以便在不同類型的產品中使用。
Product Specifications非常輕量且易於自定義。
翻譯:
如要協助翻譯本外掛程式,請前往:WordPress翻譯倉庫
開發
Product Specifications也可在GitHub上取得,歡迎貢獻。
捐贈此外掛:
如果這個外掛對您有所幫助,您可以通過以下地址捐贈以支持這項工作:
(任何以Ethereum、BSC、FTM為基礎的代幣均可)
0x90B0f45e24C6942594Ad0a6cfcf23860F83623bA
(任何TRC20或波場網路的代幣)
TA6NCxJ97WsCDmUVEEvsVz1PW4kAVza295
0.6.0
已修正取消選擇表格的問題
翻譯已轉移到translate.wordpress.org
0.5.3
已解決與WordPress 6.1不相容的問題
0.5.2
已解決與PHP 8.0不相容的問題
0.5.1
已修正Selectbox儲存問題
當設置為替代選項時,已禁用Selectbox
0.5.0
新增能夠選擇規格選項標題的功能
已修正翻譯字串
0.4.3
已修正外觀問題錯誤
0.4.2
已修正選擇 "OR" 值時,將無法保存的問題
0.4.1
已修復產品表格中未載入屬性的問題
0.4.0
更改了Modal Library
更快的Modal體驗
新增以JSON格式匯入/匯出表格數據的功能
插件類現在使用PHP Autoloaders載入
可以匯出和匯入產品規格表數據
可以從您現有的佈景主題中覆蓋規格表模板
效能提升
其他錯誤修正
0.3.2
已修正管理區域中的某些CSS問題
0.3.1
已新增能夠禁用Woocommerce的預設資訊表格的功能
已新增預設CSS樣式表並能夠禁用
已新增能夠從特定產品中移除"true/false"欄位的功能
群組重新排序時的錯誤修復
當產品規格表為空並仍在產品頁面上顯示時的錯誤修正
其他一些小錯誤修正
更新波斯語翻譯
新增俄語語言(感謝Илья Китаев)
外掛標籤
開發者團隊
② 後台搜尋「Product Specifications & Compare for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
When shoppers choose between similar products, they look at the details: screen size, weight, battery life, warranty. Product Specifications & Compare for WooCommerce puts those details in a clear specifications table on every product page, and lets shoppers compare products side by side.
You define each specification once, group specifications into a set for each kind of product, such as laptops, sofas or running shoes, and fill in the values on the product screen. The table and the comparison read the same values, so there is nothing to keep in sync.
Try the live demo. It opens a sample store with products and specifications right in your browser, using WordPress Playground. Nothing to install or sign up for.
Upgrading from 0.x? Read this first
Version 2 stores specifications in a new format. Your specification tables stay hidden from the storefront until you run the migration. Plan the update before you click it:
Check that your site runs WordPress 7.0, WooCommerce 9.2 and PHP 8.1 or newer.
Take a backup of your database. The migration changes data in place.
Update the plugin at a quiet time.
Go to WooCommerce > Product Specifications > Migration and click Start migration.
The migration runs in the background. You can leave the screen and come back later to see what it converted.
The migration guide explains what changes and how to update custom code.
Product specifications
A specification here is more than a line of text. A number keeps its unit, such as 15.6 in or 2.1 kg, and can be a range such as 100–240 V. A datasheet becomes a download link, and a yes or no shows as a check mark. Details WooCommerce already knows, like SKU, weight, dimensions and brand, can sit in the same table without being typed twice.
The table shows in a Specifications tab on the product page. You can also place it with the Product Specifications block or the [specs-table] shortcode.
It suits stores whose shoppers decide on details: electronics, hardware and tools, auto parts, appliances, furniture, fashion, cosmetics, books and music.
Product comparison
A shopper clicks Compare on a product page and lands on a comparison table with that product. From there they add other products of the same kind, and every row lines up: the same specifications, in the same groups and order. A phone and a sofa never end up in the same table.
The whole comparison lives in the link, so shoppers can bookmark it or send it to someone. No account is needed. On a phone, each specification’s name moves above its values, so three products still fit side by side.
You choose which kinds of products can be compared, where the Compare button goes, and how many products fit in one comparison. The Product Comparison and Compare Button blocks, and their shortcodes, let you put both anywhere.
Why use specifications instead of product attributes?
WooCommerce attributes are built for variations and filters. They hold plain text, sit in one flat list, and every value is a term. A specification has a type: a number with a unit, a range, a date, a datasheet download, a link or a yes or no. Specifications are grouped, ordered per set, and checked when the product is saved. And you can still show attribute values in the table when you need them.
Features
Specification library. Define a specification once and use it in any number of sets. Search it, filter by type, and see which sets use it.
Specification types. Text, paragraph, single select, yes or no, number, date, link, document and WooCommerce product data.
Numbers with units. 17 unit kinds, such as length, weight, data size, voltage and power, or units you define. Ranges, decimal places, thousands separators, minimum and maximum.
WooCommerce product data. Show weight, dimensions, SKU, GTIN, categories, tags, brands or any product attribute. They are read from the product each time, so they never go stale.
Documents. Attach datasheets, manuals and certificates from the media library. Shoppers get a download link with the file type and size.
Set editor. Drag specifications into groups, and create new ones without leaving the editor.
Quick product entry. Every value gets the right input, with suggestions from your other products.
Product comparison. A Compare button, a comparison page and a shareable link, turned on per set.
Display anywhere. A product tab, blocks for block themes, and shortcodes for page builders and classic themes.
Replace the Additional information tab. Hide WooCommerce’s own tab when a product has specifications, or always.
Theme friendly. Light markup with clear CSS classes. Turn off the plugin stylesheet and style it all in your theme.
Import and export. Move specifications, sets and product values between stores as one file, with a preview before anything changes. Products are matched by SKU or slug, and WP-CLI commands are included.
Translation ready. Every screen can be translated on translate.wordpress.org.
For developers. A documented PHP API to read and write values, hooks to change the table and the comparison, and custom specification types.
Documentation
The user guide covers every screen and specification type. The developer documentation covers the PHP API, hooks and custom types.
