[WordPress] 外掛分享: Pi Role Based Shipping for WooCommerce

首頁 › 外掛目錄 › Pi Role Based Shipping for WooCommerce
WordPress 外掛 Pi Role Based Shipping for WooCommerce 的封面圖片
全新外掛
安裝啟用
—
尚無評分
31 天前
最後更新
—
問題解決
WordPress 6.0+ v1.6 上架:2026-06-15

內容簡介

Pi Role Based Shipping for WooCommerce 讓您能夠控制不同用戶角色在結帳時可用的運送方式。此外掛可輕鬆隱藏特定角色的運送方式,或在特定運送區域內為個別運送方式配置限制,提升結帳的靈活性與效率。

【主要功能】
• 為選定用戶角色禁用運送方式
• 全球性運送方式類型限制
• 個別運送方式實例的限制配置
• 支援運送區域
• 與 WooCommerce 核心運送方式相容
• 支援第三方運送方式

外掛標籤

開發者團隊

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

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

原文外掛簡介

Role Based Shipping for WooCommerce lets you control which shipping methods are available to different user roles during checkout.
Easily hide shipping methods for specific roles across all shipping zones or configure restrictions for individual shipping method instances within specific shipping zones.
Features:

Disable shipping methods for selected user roles
Apply restrictions globally by shipping method type
Configure restrictions for individual shipping method instances
Support for shipping zones
Compatible with WooCommerce core shipping methods
Works with third-party shipping methods that register with WooCommerce
Simple role selection using a searchable multi-select field
Guest user support
Lightweight and easy to configure
Dynamic shipping method role assignment using system names and pattern matching

Assigning Roles to Dynamic Methods
The plugin provides a powerful “Dynamic Shipping Method Roles” feature that allows you to restrict shipping methods based on pattern matching:
How to Assign Roles to Dynamic Methods:

Navigate to the plugin settings page and go to the “Dynamic Shipping Method Roles” tab
Click “Add dynamic method role” button to create a new rule
Enter the system name of the shipping method you want to restrict
Select a matching type:

Exact match: Restricts only the exact shipping method system name
Starts with: Restricts all shipping methods that start with the specified system name (useful for method families like “flat_rate”, “ups”, etc.)

Select the user roles you want to restrict from this shipping method
Click “Save Settings” to apply the rule

Finding System Names:
To find the system name of a shipping method:
1. Log in to your WooCommerce store as an administrator
2. Go to the checkout page
3. Each shipping method will display its system name in parentheses (e.g., “UPS Ground → System name: ups:1234”)
4. Copy the exact system name and paste it into the dynamic method form
Use cases:

Hide Free Shipping from wholesale customers
Offer Local Pickup only to selected user roles
Restrict premium shipping methods to logged-in users
Configure different shipping options for different customer groups

The plugin integrates directly with WooCommerce shipping rates and removes restricted shipping methods before they are displayed at checkout.

文章
Filter
Mastodon