跳到内容

Ratesmith – Exchange Rate Pricing for WooCommerce

v1.0.1

rezapr2 · 2026年10月5日 上架

Price products in USD (or any currency) and sell them in your store currency, updated automatically from an exchange rate you control.

正在使用
10 以下
评分
暂无
累计下载
466
最近更新
2026年10月12日
需要 WordPress 6.5+已测试到 7.1.5PHP 7.4+

贡献者

截图

Exchange rate settings: base currency, current rate, default pricing and sale price rules.
Exchange rate settings: base currency, current rate, default pricing and sale price rules.
Markup and rounding rules, background recalculation status and the rate history log.
Markup and rounding rules, background recalculation status and the rate history log.
Product editor: enter the price in the base currency and see the calculated store price, including sales, as you type.
Product editor: enter the price in the base currency and see the calculated store price, including sales, as you type.
Variable products: every variation has its own base price.
Variable products: every variation has its own base price.
Products list with base prices, sale badges, manual products and missing-price warnings.
Products list with base prices, sale badges, manual products and missing-price warnings.
Update the rate in one step from the dashboard widget or the admin bar.
Update the rate in one step from the dashboard widget or the admin bar.
Category markup: a category can override the store markup, and its subcategories inherit it.
Category markup: a category can override the store markup, and its subcategories inherit it.
Orders keep the exchange rate and base price from the time of purchase.
Orders keep the exchange rate and base price from the time of purchase.

If you buy stock in a foreign currency, your prices move with the exchange rate. Ratesmith lets you enter a product’s price in a base currency such as USD, and calculates the store price for you:

store price = round( base price × rate × (1 + markup %) + fixed markup )

When you change the rate, every exchange-rate priced product is recalculated in the background.

Features

  • Base currency price for simple, external and variable products (each variation has its own price).
  • Choose per product: store default, exchange rate or manual price. The store default can be “all products” or “only products I choose”.
  • Markup as a percent and/or fixed amount: store-wide, per product category (subcategories inherit) and per product.
  • Rounding to any step (for example 10,000) up, down or to the nearest.
  • Sale prices as a base currency price, a discount percent, or both.
  • Live preview of the calculated price while editing a product.
  • Background recalculation with Action Scheduler, in batches, safe for large catalogs.
  • Rate history log, and the rate at purchase time saved on each order.
  • Quick rate update from the dashboard widget or the admin bar.
  • Products list column, quick edit and bulk edit.
  • Product CSV import/export columns.
  • WP-CLI commands: wp erpfw rate, wp erpfw recalculate, wp erpfw status.
  • Iranian Rial stores can enter amounts in Toman.
  • Compatible with High-Performance Order Storage and the Cart and Checkout blocks.
  • Translation ready.

How prices are stored

Calculated prices are written to WooCommerce’s normal price fields. Sorting, price filters, carts, coupons, payment gateways, feeds and structured data keep working without changes, and nothing is calculated on page load. If you deactivate the plugin, products keep their last calculated prices.

For developers

Filters and actions:

  • erpfw_rate_providers – register automatic rate sources (implement Ratesmith\RateProviders\RateProviderInterface).
  • erpfw_calculation_args / erpfw_calculated_prices – adjust the calculation.
  • erpfw_supported_product_types – add product types.
  • erpfw_rate_updated – fires when a rate changes.
  • erpfw_prices_recalculated – fires after a recalculation run, useful for purging page caches.
  • erpfw_manage_capability – capability needed to change rates (default manage_woocommerce).

Helper functions: erpfw_get_rate() and erpfw_convert_to_store_price( $amount ).

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums