前言介紹
- 這款 WordPress 外掛「Hide Cart Functions」是 2022-03-24 上架。
- 目前有 3000 個安裝啟用數。
- 上一次更新是 2025-02-14,距離現在已有 79 天。
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4.33 以上。
- 有 6 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
steveneray | artiosmedia | arafatrahmanbd |
外掛標籤
hide price | hide option | hide category | hide quantity | Hide add to cart |
內容簡介
許多外掛提供了編輯購物頁面購物車功能的方式,包括隱藏價格、「加入購物車」按鈕、數量選擇器以及產品選項下拉式選單,但沒有一個外掛可以滿足以上所有需求。此外,目前可用的外掛或程式碼片段並未允許在任何格式(包括嵌入式圖形)中顯示自訂訊息,也沒有允許在同一個 WooCommerce 網站上隱藏多個購物車元素的任何組合。
直到現在!Hide Cart Functions 外掛簡單地讓 WooCommerce 網站能夠完全控制每個使用者端的商店功能,同時讓用戶可以創建數個規則,應用於同一個系統中的不同類別或產品。更棒的是,這不是一個受限試用版本的外掛,而是一個完整可用的版本!
每個使用者的購物頁面編輯還可以進一步提供 ID 或類別來隱藏自訂元素。這個功能提供了一種手段,讓使用者自定義 WooCommerce 選項之外的其他外掛功能,或調整與 WooCommerce 模板提供的主題提供的功能。這個額外的自定義層級可能會帶來意外的結果,因此請自行斟酌使用並進行充分的測試。我們無法解決由於使用此功能而導致的任何衝突。
從版本 1.0.4 開始,每個規則添加了一個請求設置,允許您僅應用於訪客用戶、僅應用於已登錄用戶,但不允許兩者兼顧(可能會產生衝突)。如果要應用於所有用戶,請將兩個都取消選中。
從版本 1.0.5 開始,添加了搜尋和選擇至少 3 個字的產品,以便簡化適用的產品的選擇。此新增功能與產品 ID 欄位結合使用,這意味著您可以使用其中一個欄位,或同時使用兩個欄位。
如何查找產品 ID:打開 WordPress 儀表板,然後點擊「頁面 > 所有頁面」。然後選擇需要查找 ID 的頁面。一旦頁面打開,您需要查看網頁瀏覽器地址欄中的網址。在此處,您將在頁面 URL 的「?post=」之後立即找到頁面 ID 編號。
外掛的語言包括:英文、西班牙文、法文和俄文。
釋出 1.0.6 的技術詳細資料
加載時間:0.687 秒;內存使用:36.38 MiB
PHP 測試版本:8.2.2
MySQL 測試版本:8.0.32
cURL 測試版本:7.87.0、OpenSSL/3.0.8
支援 PHP 5.6、7.3、7.4 和 8.0。
在多站點安裝中使用
將 zip 檔案內容解壓縮到 WordPress 安裝的 wp-content/mu-plugins/ 目錄中(此目錄不是預設創建的,必須在 wp-content 文件夾中創建)。‘mu’ 不像 WPMU 一樣代表多用戶,它代表 ‘must-use’,因為放在該文件夾中的任何程式碼都會在無需啟用的情況下運行。
按照 WordPress 設置菜單中的外掛設置面板進行操作。
原文外掛簡介
Several plugins provide a means to edit the shopping page cart functions, including hiding the price, “Add to Cart” button, quantity selector, and product options dropdown, but not all in one plugin. Additionally, none of the available plugins or snippets allow a custom message to appear in any format, including embedded graphics, nor do they allow any combination of hidden shopping cart elements on the same WooCommerce website.
At least not until now! Hide Cart Functions simply gives a WooCommerce website complete control over each user side shop’s function while at the same time allowing a user to create several rules to apply to various categories or products within the same system.
Take your shopping page edits one step further; a user can also enter IDs or classes to hide custom elements. This extra provision provides a means for users to customize third-party plugin functions that are additional to WooCommerce options or adjust those provided by themes with WooCommerce templates. This additional level of customization may come with unexpected results; therefore, use it at your own discretion, followed by a good deal of testing. We cannot resolve any conflicts resulting in the use of this field.
As of version 1.0.4, a requested setting has been added to each rule that allows you to apply the rule to Guest Users only or Logged-In users only but doesn’t allow both at once, which would cause a conflict. Leave both unchecked to apply to all users.
As of version 1.0.5, search and select for products with a 3-letter minimum was added to ease the selection of products to the rule applies. This addition works in combination with the Product ID field, meaning you can use one or the other or both at once.
How to Find a Product ID: Open your WordPress dashboard and click on Pages > All Pages. Then, select the page for which you need to find the ID. Once the page has opened, you need to look at the URL in your web browser’s address bar. Here, you will find the page ID number displayed within the page URL, immediately behind ?post=.
Plugin Limitation: As a disclaimer to this plugin’s capabilities, it is not possible to create a rule to customize the cart functions for any individual Variable Post ID found within a variable product post. The plugin can only modify the functions of a Product ID or Category ID due to the limits inherent in WooCommerce itself, not because of the lack of the plugin.
The plugin supports languages including English, Spanish, Portuguese, French, and Russian.
Technical Details for Release 1.2.8
Load time: 0.343 s; Memory usage: 3.54 MiB
PHP up to tested version: 8.3.17
MySQL up to tested version: 8.4.4
MariaDB up to tested version: 11.8.0
cURL up to tested version: 8.12.0, OpenSSL/3.4.1
PHP 7.4, 8.0, 8.1, 8.2, and 8.3 compliant. Not tested on 8.4 yet.
Using in Multisite Installation
Extract the zip file contents in the wp-content/mu-plugins/ directory of your WordPress installation. (This is not created by default. You must create it in the wp-content folder.) The ‘mu’ does not stand for multi-user as it did for WPMU, it stands for ‘must-use’ as any code placed in that folder will run without needing to be activated.
Follow the plugin setting panel in the WordPress settings menu.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Hide Cart Functions」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.4 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | 1.0.9 | 1.1.1 | 1.1.2 | 1.1.3 | 1.1.4 | 1.1.5 | 1.1.6 | 1.1.7 | 1.1.8 | 1.1.9 | 1.2.0 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.2.5 | 1.2.6 | 1.2.7 | 1.2.8 | trunk |
延伸相關外掛(你可能也想知道)
Ultimate Category Excluder 》終極類別排除器(Ultimate Category Excluder),縮寫為UCE,是一款 WordPress 外掛程式,允許您快速且簡單地從您的首頁、檔案、饋料和搜尋中排除類別。只需...。
Hide Categories Or Products On Shop Page 》在 WooCommerce 外掛中的「隱藏商店頁面上的類別或產品」可以隱藏商店頁面中的產品和類別。這個外掛是免費的並且可以配合 WooCommerce 使用。, 功能, , 在商...。
Woocommerce Hide Options 》Woocommerce 隱藏選項外掛提供了非常簡單的選項,可以從產品單頁面隱藏元信息和其他選項,例如:類別、標籤、評論、價格、星級評論、購物車按鈕及其它多種單...。
Hide Product & Post Categories 》WC Hide Category是一個開源軟件,可以輕鬆地隱藏商店頁面和文章頁面中不需要或私人的分類。, 許多供應商和電商店主想要隱藏一些帖子和商店分類。事實上,Wor...。