Linux 软件免费装
Banner图

Peg FX

开发者 jouh
更新时间 2026年11月21日 06:22
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

woocommerce geolocation currency currency switcher multi-currency

下载

0.2.0

详情介绍:

Peg FX shows your WooCommerce prices in the shopper's own currency and charges them in it. You keep entering prices in your store's currency. Peg FX converts them for each visitor at the exchange rate you set. A shopper in Germany sees your $24.00 mug as €22.08, pays €22.08 at checkout, and the order is recorded in euros. What Peg FX does Free, with nothing locked Peg FX is free and complete. It needs no account or licence key, makes no external requests, and never shows upgrade prompts inside WordPress. Need more currencies? Peg FX Pro is a separate paid add-on, available from pegfx.fyi. It adds any number of currencies, daily central-bank exchange rates with your own markup or discount, and price rounding such as .99 endings. Peg FX works fully on its own. Privacy Peg FX makes no external requests and sends no data to us. It stores the visitor's chosen currency in the pegfx_currency cookie and the currency it resolved in the pegfx_resolved cookie. WooCommerce geolocation, if you enable it, follows WooCommerce's own privacy settings. Orders store their currency through WooCommerce.

安装:

  1. Install and activate WooCommerce.
  2. Install Peg FX from Plugins > Add New, or upload the pegfx ZIP with Upload Plugin, then activate it.
  3. Open WooCommerce > Settings > Currencies.
  4. Choose your extra currency, set a positive exchange rate, and pick the countries that should see it.
  5. Add the Peg FX currency switcher block to your header or shop, or use the [pegfx_currency_switcher] shortcode.

屏幕截图:

  • The whole shop in euros for a visitor from Germany.
  • The block cart converts every line, shipping included.
  • Block checkout charges in the shopper's currency.
  • Add the switcher block anywhere in the site editor.
  • One settings tab: choose the currency, set the rate, pick the countries.
  • Orders keep the currency they were placed in.
  • Prices and the switcher work on phones too.

常见问题:

Does Peg FX fetch exchange rates?

No. You set the rate by hand, and Peg FX makes no external requests. Peg FX Pro adds daily central-bank rates.

How many currencies can I use?

Your store's base currency plus one extra currency.

Does checkout charge in the displayed currency?

Yes, as long as your payment gateway accepts that currency. Check your gateway's supported currencies before you enable one. Existing orders keep their original currency.

Can I keep my prices in my currency and only help shoppers at checkout?

Yes. Under WooCommerce > Settings > Currencies, choose "Checkout only". Prices, the cart, the payment and the order all stay in your store's currency. The cart and checkout add a line with the total in the shopper's currency and the rate, so a shopper from Canada or New Zealand knows roughly what their bank will charge. The line appears for visitors located in a country you assigned to the extra currency. Shoppers can't pick a different currency for it in Peg FX, which offers one extra currency; with Peg FX Pro and two or more other currencies, the line has a currency picker.

Does Peg FX change my saved product prices?

No. Prices stay in your store's base currency. Peg FX converts them only when it shows them.

Does it work with page caching or a CDN?

Yes. Pages in the extra currency are never cached, and cached base-currency pages get their prices refreshed in the browser.

Does it work with the block checkout?

Yes. Peg FX supports the block cart and checkout, the classic checkout and the Store API.

What happens when I uninstall Peg FX?

Peg FX removes its settings. Currency cookies expire in the browser. Existing orders keep their currency.

更新日志:

0.2.0