Description
Do you buy stock in euro and sell in lei? When the euro goes up, your store prices fall behind and you lose margin, usually without noticing.
Leuro fixes that. Each product gets a price in euro, and the plugin fetches the official EUR/RON rate from the National Bank of Romania (BNR) every day and recalculates the price in lei automatically.
The admin interface is in Romanian, as the plugin is built for stores selling in Romania.
Features
- Daily EUR/RON rate from BNR. You can also use a manual rate, or the BNR rate plus a safety percentage.
- Regular and sale price fields in euro (€) on simple products and on every variation.
- Optional markup, for when the euro price is your purchase cost.
- Rounding: to the cent, to the whole leu, or up to ,99 or ,90.
- Background recalculation in batches, so large catalogs do not slow down the store. Prices are recalculated only when the rate moves more than a threshold you choose.
- Safety limit: a price that would change too much at once is left untouched and you get a warning.
- Admin warning when the rate is outdated, and a dashboard widget with today’s rate.
- Works with WP All Import and with the WooCommerce CSV importer.
- WP-CLI commands:
wp leuro fetch,wp leuro recalc,wp leuro status.
Products without a price in euro are never touched, so you can use it on part of your catalog only.
Leuro is free and open source, made by bytevision, a Romanian team that builds online stores, WooCommerce integrations and automations. Need a custom integration with a Romanian supplier, courier or invoicing service? Get in touch.
WP All Import
Map the feed price to the custom field _leuro_regular (and _leuro_sale for sale prices). The price in lei is calculated right after the import. To get the price in lei directly in a template, use [leuro_pret({your_price[1]})].
External services
This plugin connects to one external service: the National Bank of Romania (BNR), to get the official EUR/RON reference rate.
- What is sent: a plain download request for the public exchange rate file (https://curs.bnr.ro/nbrfxrates.xml, with the older address https://www.bnr.ro/nbrfxrates.xml as a fallback). No data about the store, products or customers is sent.
- When: once an hour (WP-Cron) and when you click “Ia cursul BNR acum” (fetch the BNR rate now), only if the rate source is set to BNR.
- Service provider: National Bank of Romania (Banca Națională a României), https://www.bnr.ro
- Terms of use: https://www.bnr.ro/en/2573-disclaimer-copyright (Romanian: https://www.bnr.ro/2281-termeni-si-conditii)
- Privacy policy: https://www.bnr.ro/en/2574-personal-data-protection (Romanian: https://www.bnr.ro/2282-date-cu-caracter-personal)
Leuro is not affiliated with the National Bank of Romania.
Screenshots



Installation
- Install and activate the plugin. WooCommerce must be active.
- Go to WooCommerce Leuro and choose the rate source, markup and rounding.
- Fill in “Preț obișnuit (€)” (regular price in euro) on your products, manually or through an import.
FAQ
-
What happens to my current prices?
-
Only products where you fill in a price in euro get their price in lei calculated automatically. All other products stay as they are.
-
Does the euro price include VAT?
-
The price in lei is calculated from the euro price exactly as you enter it. If your store prices include VAT, enter the euro price with VAT too (or include VAT in the markup).
-
What if BNR does not respond?
-
The plugin keeps the last known rate and retries every hour. If the rate becomes older than the limit you set, you get a warning in the admin.
-
What happens if I uninstall it?
-
Prices in lei stay as they were at the last recalculation. Settings are deleted; the euro prices stay saved on the products.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Leuro – EUR in RON for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Leuro – EUR in RON for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- First release.
