Currency conversion plugin EUR → UAH at NBU rate for WordPress
Developed a custom WordPress plugin for the website san-marco.in.ua
The plugin retrieves the official euro exchange rate from the National Bank of Ukraine's API once a day and automatically converts material prices from EUR to UAH on public pages. No manual updates are needed — prices are always current.
Settings allow you to set a markup percentage, enter your own rate instead of the NBU, or temporarily disable conversion.
Additionally, through ACF, I added a new field to the material cards for an extended description, which the standard post type did not provide.
The plugin retrieves the official euro exchange rate from the National Bank of Ukraine's API once a day and automatically converts material prices from EUR to UAH on public pages. No manual updates are needed — prices are always current.
Settings allow you to set a markup percentage, enter your own rate instead of the NBU, or temporarily disable conversion.
Additionally, through ACF, I added a new field to the material cards for an extended description, which the standard post type did not provide.