

Exchange rate settings: base currency, current rate, default pricing and sale price rules.
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.
wp erpfw rate, wp erpfw recalculate, wp erpfw status.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.
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 ).