[WordPress] 外掛分享: Multiple Currencies for Paid Memberships Pro

首頁外掛目錄 › Multiple Currencies for Paid Memberships Pro
WordPress 外掛 Multiple Currencies for Paid Memberships Pro 的封面圖片
200+
安裝啟用
尚無評分
6 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.0.0 上架:2021-05-13

內容簡介

這個外掛可以讓你在 Paid Memberships Pro(付費會員專用外掛)中加入多種貨幣。這將使你可以針對每個會員等級指定不同的貨幣,或者如果未填寫貨幣,就使用默認貨幣設置。

請注意,這將會更新以下頁面上的貨幣顯示:
* 會員等級頁面
* 結帳頁面
* 管理員會員等級頁面
* 管理員等級設置頁面

由於 PMPro 核心的以下部分沒有掛鈎和過濾,因此以下頁面目前無法反映自定義貨幣:
* 管理員訂單和報告頁面
* 客戶帳戶和發票記錄
* 電子郵件

請注意:這不是 PMPro 團隊的官方外掛程式。

致謝:這個外掛程式的靈感來自這個 gist https://gist.github.com/strangerstudios/8806443。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Multiple Currencies for Paid Memberships Pro」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Multiple Currencies for Paid Memberships Pro gives your membership site the flexibility to accept payments in different currencies, whether you charge different regions different amounts or simply want visitors to see pricing in their own currency.
Assign any currency to any membership level, display a sleek frontend switcher so visitors can choose their preferred currency, and let the plugin remember their choice across visits and devices. Every order is stored with its currency so your reports and account pages always show the right symbol – no surprises.
Key Features
Per-Level Currency
Assign a specific currency to each membership level directly from the level edit screen. The correct currency and symbol is applied automatically at checkout, on the confirmation page, in invoice emails, and on the account page. Levels with no override fall back to your site’s default currency.
Frontend Currency Switcher
A floating pill-style switcher appears on the frontend so visitors can select their preferred currency at any time. Their choice is saved in a cookie and – for logged-in users – synced to their account so it follows them across devices. The switcher is hidden on the checkout page to avoid confusion mid-purchase.
Inline Switcher via Shortcode
Prefer to place the switcher inside your own content or template? Use the [pmpro_currency_switcher] shortcode to embed it anywhere – a page, a widget, or a block.
Geo-Detection (opt-in)
When enabled, new visitors are automatically offered a currency based on their country, detected via Cloudflare or standard CDN country headers. Visitors can still override using the switcher. This setting is off by default.
Available Currencies Restriction
By default the plugin works with all currencies registered in Paid Memberships Pro. Use the Available Currencies setting to restrict the list to only the currencies your site actually uses – keeping level dropdowns and the frontend switcher clean.
Widget Placement Control
Choose where the floating switcher appears: on all pages (except checkout), on PMPro pages only, or hide it entirely and rely on the shortcode instead.
Sales by Currency Report
A dedicated report under Memberships > Reports shows order count and revenue broken down by currency, with filters for today, this month, this year, all time, or a custom date range. A summary tile also appears on the PMPro reports dashboard.
Accurate Order History
The currency and symbol are saved to order meta at the moment of checkout. This means the account page, admin order screen, invoices, and confirmation emails always reflect the currency the member actually paid in – even if your site default changes later.
Settings
All plugin settings live under Memberships > Settings > Advanced.

Available Currencies – check the currencies you want to make available for level assignment and the frontend switcher. Leave all unchecked to allow all PMPro currencies.
Widget Placement – controls the floating currency switcher. Hidden by default — each level uses its assigned currency and no floating widget is shown. Visitors can still switch using the [pmpro_currency_switcher] shortcode. Set to all pages or PMPro pages only to show the floating widget automatically.
Enable Geo-Detection – when checked, new visitors are automatically detected by country and offered the matching currency.

Shortcode
[pmpro_currency_switcher]

Embeds the currency switcher inline in any page, post, or widget. Only renders when two or more currencies are enabled.
Developer Notes
Enable the debug overlay by adding define( 'PMPRO_MC_DEBUG', true ); to your wp-config.php. The overlay shows the active currency, cookie value, user meta value, geo-detected currency, and the list of enabled currencies – useful for troubleshooting.
This plugin is not an official Paid Memberships Pro add on.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon