| 开发者 | jouh |
|---|---|
| 更新时间 | 2026年11月21日 06:22 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
[pegfx_currency_switcher] shortcode. Shoppers can always switch. In checkout-only mode the switcher stays hidden, since every page is in your currency.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.
[pegfx_currency_switcher] shortcode.No. You set the rate by hand, and Peg FX makes no external requests. Peg FX Pro adds daily central-bank rates.
Your store's base currency plus one extra 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.
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.
No. Prices stay in your store's base currency. Peg FX converts them only when it shows them.
Yes. Pages in the extra currency are never cached, and cached base-currency pages get their prices refreshed in the browser.
Yes. Peg FX supports the block cart and checkout, the classic checkout and the Store API.
Peg FX removes its settings. Currency cookies expire in the browser. Existing orders keep their currency.