前言介紹
- 這款 WordPress 外掛「Hide Product Prices Until Login – for WooCommerce」是 2025-10-04 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2025-10-05,距離現在已有 143 天。
- 外掛最低要求 WordPress 5.8 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
user roles | geolocation | hide prices | woocommerce | login required |
內容簡介
總結:WooCommerce Hide Prices Until Login or Region 外掛可幫助店主控制誰能看到價格並添加商品到購物車中,適用於批發商店、受限內容或地區特定的定價政策。
1. 這個 WordPress 外掛的主要功能是什麼?
- WooCommerce Hide Prices Until Login or Region 外掛可幫助店主控制誰能看到價格並添加商品到購物車中,適用於批發商店、受限內容或地區特定的定價政策。
2. 使用開發者功能時,應該如何設置插件以觸發隱藏價格訊息?
- 設置 $GLOBALS['hpulr_force_hide'] = true 後再呼叫 HPULR_Price_Handler::filter_price(),即可觸發免費插件的隱藏價格訊息。
3. 請列舉一些主要功能有哪些?
- 隱藏非登入使用者的價格
- 禁用訪客的「加到購物車」功能
- 基於地理位置的可見性(按許可的國家)
- 基於使用者角色的可見性(1.2.0 版本新增)
- 支援自訂訊息並支援 {login_url}
- 登入後將使用者重新導回商品
- 直接整合到 WooCommerce 設定中
- 產品級別自訂訊息覆蓋(精簡版)
- 管理員預覽行為的測試模式
- 支援所有產品類型(簡單、變動等)
- 集中式儲存和消毒(1.2.1 版本新增)
- 與高級附加元件兼容(例如:基於分類的隱藏)
原文外掛簡介
WooCommerce Hide Prices Until Login or Region helps store owners control who can see prices and add products to their cart. Useful for wholesale stores, restricted content, or region-specific pricing policies.
Developer Features
This plugin supports integrations with premium extensions via a global override flag and centralized architecture:
Set $GLOBALS['hpulr_force_hide'] = true before calling HPULR_Price_Handler::filter_price() to trigger the free plugin’s hidden price message
Inject premium settings using hpulr_additional_settings filter
Automatically save premium and custom fields via centralized update hook
Sanitize both free and premium fields with centralized filter sanitize_all_options
🎯 Key Features:
– Hide prices for non-logged-in users
– Disable Add to Cart for guests
– Geolocation-based visibility (by allowed countries)
– User role-based visibility (NEW in 1.2.0)
– Custom message with {login_url} support
– Redirects users back to the product after login
– Integrated directly into WooCommerce settings
– Per-product custom message override (Lite)
– Test mode for admin previewing behavior
– Supports all product types (simple, variable, etc.)
– Centralized saving and sanitization (NEW in 1.2.1)
– Compatible with premium add-ons (e.g., category-based hiding)
License
This plugin is licensed under the GPLv2 or later.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Hide Product Prices Until Login – for WooCommerce」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
PublishPress Capabilities – User Role Editor, Access Permissions, User Capabilities, Admin Menus 》PublishPress Capabilities 可以協助您掌控 WordPress 網站中所有權限和許可。我們建立了這款使用者角色編輯外掛,以便您可以輕鬆且強有力地管理使用者。, , ...。
Advanced Access Manager – Access Governance for WordPress 》ems that our Advanced Access Manager (AAM) WordPress plugin adheres to:, , Ultimate control over your website: As the only plugin that provides you...。Hide Admin Bar Based on User Roles 》這個外掛可根據所選用戶角色和用戶功能來隱藏管理列,非常有用。, , 這是個簡單但棒的外掛。🙂, – wptoolsdev, 完美無缺的運作!🙂, – thebr...。
User Roles and Capabilities 》此外掛可以管理使用者角色和權限,建立新的角色並刪除現有角色,但不能修改管理員角色的權限設定。, WordPress 內建的角色不能被刪除。, 如果你遇到任何問題...。
Multiple Roles 》此外掛允許您為使用者選擇多個角色 - WordPress 「核心功能」已支援此功能,但並未提供使用者介面。, 使用者編輯與新增使用者畫面顯示勾選角色清單而非預設的...。
Different Menu in Different Pages – Conditional Menu 》設置不同用戶的不同選單,自定義網址、頁面、文章、頁面模板、文章類型、類別、分類等。, 如何設置不同的選單?, , 功能, , 在不同頁面使用不同選單設置有易...。
HM Multiple Roles 》這個HM Multiple Roles外掛提供使用者介面,允許你為使用者選擇多個角色。, 它隱藏了預設的角色下拉式選單,並在新使用者及更新使用者頁面上顯示角色勾選框清...。
Menu By User Roles 》總結:, , - "Custom Menu User Roles" 是一個 WordPress 外掛,可根據使用者角色來控制選單項目的可見度。, - 使用者可以針對每個選單項目指定特...。
Premmerce User Roles 》這個外掛是用來在 WordPress 後台建立使用者角色並賦予它們任意存取權限的。, 完整文檔在此處: Premmerce User Roles, 主要功能:, , 添加自定義使用者角色...。Enable Contributor Uploads 》有時候,你可能只想允許擁有「貢獻者」定義使用者角色的使用者在撰寫部落格文章時上傳圖片。啟用此外掛後,它會自動讓貢獻者擁有添加媒體的能力。這是一個輕...。
WP247 Body Classes 》為了基於文章屬性(文章類型、slug 和 ID)和各種 WordPress 的「is」函數進行簡單的樣式設置,在 body 標籤中添加獨特的類: , , wp_is_mobile(), is_home()...。
WPC Price by User Role for WooCommerce 》chase the Premium version of the WPC Price by User Role for WooCommerce plugin. This version allows users to set pricing rules for specific product...。
File Manager, Code Editor, and Backup by Managefy 》Managefy WordPress 外掛讓您輕鬆地管理您的媒體庫。此外掛允許您存取資料夾、下載檔案、上傳檔案、建立資料夾、子資料夾,並支援備份和還原您的檔案和資料庫...。
Gou Manage My Account Menu – User Roles 》此插件為 WooCommerce 的延伸,能管理我的帳戶選單。功能包括新增/編輯、顯示/隱藏和變更選單版面,並且您還可以根據使用者角色在我的帳戶頁面上設置選單,並...。Editorial Access Manager 》這是一個簡單的外掛,可以讓您掌控哪些使用者可以存取特定的文章。在 WordPress 中,我們可以建立使用者並, 將他們分配至角色。角色會被自動分配特定的權限。...。
