
前言介紹
- 這款 WordPress 外掛「Reusable Product Description for WooCommerce」是 2016-05-17 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2020-05-10,距離現在已有 2117 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.4.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 6 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
mjke87 |
外掛標籤
product | woocommerce | product description | category description | attribute description |
內容簡介
此外掛允許您重複使用描述,並在產品上動態顯示它們。將描述添加到您的類別和產品屬性中,然後將其添加到您的產品描述中或作為單獨的標籤顯示。這樣,您就可以重複使用某些屬性或類別特定的描述,而不必一遍又一遍重寫所有適用產品的所有信息。
此外掛為每個產品類別和屬性稅項創建了一個新字段,可用於添加和顯示與特定類別或屬性相關的其他信息。
預設情況下,將在單獨的標籤中顯示額外信息,並將產品屬性稅名用作標籤標題。標籤的內容將顯示所有適用的屬性標籤描述。額外的欄位還允許您使用HTML、短代碼和特殊的佔位符,這些佔位符將被替換為產品信息。
功能:
顯示WooCommerce產品類別和屬性信息,作為單獨的標籤或產品詳情的一部分。
控制每個WooCommerce屬性稅類型的顯示類型。
使用默認屬性描述欄位或使用預設插件欄位之間切換。
使用優先級值控制每個產品稅類型的標籤順序。
通過屬性設置設置替代標籤標題。
支持在描述中使用佔位符(請參見下文),這些佔位符將被替換為產品數據。
佔位符:
產品屬性
使用{product:property}佔位符可以將文本的某些部分替換為產品屬性:
{product:name}:獲取產品名稱
{product:sku}:獲取產品SKU
{product:weight}:獲取產品重量
{product:height}:獲取產品高度
{product:width}:獲取產品寬度
{product:length}:獲取產品長度
此外,還可以使用類似{product:property:string}的語法在給定子串之前或之後截斷結果字符串。例如:
{product:name:-}會顯示產品名稱,但會截斷-之後的所有內容。
{product:name::-}會顯示產品名稱,但會截斷-之前的所有內容。
兩者情況下都將刪除-字符。
產品屬性
{attribute:taxonomy}佔位符可用於將文本的某些部分替換為產品屬性。將佔位符中的分類部分替換為您希望的任何產品屬性(slug)。
例如,如果您有一個屬性為“顏色”,您可以使用以下佔位符將產品的顏色插入到文本中:{attribute:color}。如果產品附帶了多個顏色,則它們會按逗號分隔列出。
因此,也可以使用類似{attribute:taxonomy:index}的語法僅選擇一個術語。將索引部分替換為一個數字。例如,{attribute:color:1}將顯示產品的第一種顏色。
產品元數據
使用{meta:key}佔位符可將文本的某些部分替換為產品元數據。在佔位符中使用任何來自數據庫的元數據,將key部分替換為它。
產品的元數據也可以像產品屬性一樣進行修剪。
用例:
尺寸指南
假設我們有一個名為Size的產品屬性稅,希望將每個使用此屬性類型的產品的尺寸指南顯示為上述額外信息。只需添加類似於[wccaf_field size_guide]的代碼片段,即可將相關HTML和文字添加到額外信息框中,然後使用佔位符將其插入到產品描述中。
原文外掛簡介
This plugin allows you to reuse descriptions and dynamically display them on your products. Add pieces of descriptions to your categories and product attributes, which then are added to your product description or displayed as separate tabs. This allows you to reuse any descriptions that are specific to certain attributes or categories without rewriting all information for every applicable product again and again.
The plugin creates a new field for each product category and attribute taxonomy that can be used to add and display additional information related to a specific category or attribute.
The extra information will be displayed in a separate tab by default with the product attribute taxonomy name as the tab title. The content of the tab will show all applicable attribute tab descriptions. The extra field lets you also use HTML, shortcodes and special placeholders that are replaced with product information.
Features
Display WooCommerce product category and attribute information in a separate tab or in the product detail
Control display type for each WooCommerce attribute taxonomy
Swap between default attribute description field or use the default plugin field
Control the tab order using priority values for each product taxonomy
Set an alternative tab title via attribute settings
Support for placeholders within the description (see below) that are replaced with product data
Placeholders
Product properties
The {product:property} placeholder can be used to replace certain parts of the text with a product property:
{product:name}: get the product name
{product:sku}: get the product SKU
{product:weight}: get the product weight
{product:height}: get the product height
{product:width}: get the product width
{product:length}: get the product length
Additionally, it is possible to truncate the resulting string before or after a given substring with the syntax {product:property:string}. For example:
{product:name:-} would display the product name but cut of everything after -
{product:name::-} would display the product name but cut of everything before -
If both cases the - character is also removed.
Product attributes
The {attribute:taxonomy} placeholder can be used to replace certain parts of the text with a product attribute. Replace the taxonomy part in the placeholder with any product attribute that you wish (slug).
For example, if you have an attribute color, you could use the following placeholder to insert the color of the product into the text: {attribute:color}. If more than one color is attached to the product, they are listed and separated by a comma.
It is therefore also possible to select only one term by using the syntax {attribute:taxonomy:index}. Replace the index part with a number. For example {attribute:color:1} will show the first color of the product.
Product meta data
The {meta:key} placeholder can be used to replace parts of the text with product meta data. Replace the key part in the placeholder with any meta data from the database.
Product meta data can also be trimmed just the like the product properties.
Use Cases
Use Case 1 – Size guide
Let’s say we have a product attribute taxonomy named Size. For all products that are using this attribute type we wish to display a size guide on the product page, which helps the customer to find the right size. We use the plugin to specify a tab description for every size that we configured (e.g. XS, S, M, L, XL). The tab description for a size attribute could for example explain the recommended body measurements that fit this size. Finally, we create a product where we assign the size attribute and select the attribute values S, M and L. On the product page of this product we will now see a new tab named Size that shows the tab descriptions of the size attributes S, M and L.
Use Case 2 – Brand information
We might have products of different brands and for each brand we’d like to display a short description about the brand in the product description. Normally we’d have to copy paste the brand description to every product of this brand. If every something changes… well, it’d be pretty cumbersome. Now let’s say we have a product attribute taxonomy named Brand. With this plugin we can instead add the brand description on attribute term level and automatically display it for every product with that brand assigned. We only manage the description once and display it everywhere.
Use Case 3 – Dynamic product descriptions
We create a new product taxonomy “Product Type” and add the reusable product descriptions there. We configure it to append the description to the main product description. We assign our product type attributes to the according products, but do not display the attribute on the product page. One product can even have more than one product types assigned to dynamically build up a product description. You could also use product categories instead.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Reusable Product Description for WooCommerce」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.0.1 | 0.0.2 | 0.0.3 | 1.0.0 | 1.1.0 | 1.1.1 | 1.1.2 | 1.1.3 | 1.2.0 | 1.2.1 | 1.3.0 | trunk |
延伸相關外掛(你可能也想知道)
WCBoost – Products Compare 》當有許多相似產品供客戶選擇時,客戶常常很難作出購買決定。因此,讓買家輕鬆比較類似的產品是電子商務網站的重要方面之一。然而,這項功能在 WooCommerce 的...。
Rearrange Products for WooCommerce 》重新排列Woocommerce產品( Rearrange Woocommerce Products)是一款WordPress外掛,可以讓您重新排列/重新排序Woocommerce商店頁面上產品的默認排序順序,也可...。Hide Categories and Products for Woocommerce 》這個外掛可以讓你隱藏選定的類別上的店鋪產品,並隱藏類別本身,無論是在列表還是單獨頁面中。, 它可以與 Storefront(主題)短代碼兼容。, 使用方式, , 前往...。
Product Visibility by User Role for WooCommerce 》「Product Visibility by User Role for WooCommerce」外掛可依照顧客的使用者角色來顯示/隱藏 WooCommerce 產品。, 您可以選擇如何隱藏產品:, , 在商店和搜...。
Post/Page Specific Custom Code 》「Post/Page specific custom CSS」外掛能讓你為特定的文章或頁面新增 CSS 樣式表,並在編輯文章/頁面的欄位中提供一個區域來貼上你的 CSS 代碼。您也可以決...。
YITH WooCommerce Tab Manager 》直接信息的高效頁面, 為了讓客戶理解清楚,YITH WooCommerce Tab Manager 讓您可以自定義產品頁面上的所有信息:, 可下載的 PDF 檔案、虛擬地圖、視頻教程、...。
Ultimate Product Catalog 》eral great features are included in the Ultimate Product Catalog plugin, making it the perfect solution for creating sleek and modern product catal...。
Filter Orders by Product for WooCommerce 》曾經想要按特定產品篩選訂單頁面結果嗎?現在有了這個外掛,就能做到!, 安裝此外掛後,在 WooCommerce 訂單畫面中會出現一個新的篩選下拉式清單。此下拉式清...。
WooCommerce Easy Duplicate Product 》您現在可以輕鬆地從編輯器中複製產品。只需安裝此外掛程式,然後點擊右側的“複製”連結。您還可以使用批量操作來複製多個產品。。
Product Blocks for WooCommerce 》Product Blocks for WooCommerce 可以幫助您輕鬆地在 WooCommerce 商店中創建美麗的商品展示、網格、禮服秀、輪播方式等。安裝後,外掛會通過 WooCommerce 專...。YITH WooCommerce Product Bundles 》產品包是向您的客戶提供交易和不可錯過的產品組合的最佳方式:使用 YITH WooCommerce 產品組合,您可以輕鬆快速地實現!, 設置您的捆綁產品應包含多少個項目...。
YITH WooCommerce Featured Video 》YITH WooCommerce Featured Video 插件是一個擴展 WooCommerce 插件的外掛,允許你的使用者在產品詳細頁面上看到 YouTube 或 Vimeo 影片而不是特色圖片。, 在...。
WooCommerce Product Image Flipper 》這個外掛非常簡單,它可以在商品檔案上新增第二個產品縮圖,當你懸停在主要產品圖像上時,這個縮圖就會顯示出來。, 如果你想在商品檔案上顯示多張圖片,或者...。
Product Subtitle For WooCommerce 》Product Subtitle For WooCommerce 可讓您輕鬆地為您的產品添加子標題,同時提供各種選項以自定輸出。, 您也可以使用簡碼 [wc-ps] 在文章內容或任何需要的位...。
Disable WooCommerce Reviews 》這個外掛可以在 WooCommerce 商店中停用所有商品評論。支援所有 WooCommerce 版本,包括最新的 3.x 版本。, 該外掛沒有任何設置,只需啟用該外掛,即可完成設...。
