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

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

外掛標籤

開發者團隊

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

① 下載 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
Apply Filters
Mastodon