# Script for Dual Currency Display in Bulgaria (BGN + EUR)

URL: https://shoptet.dev/news/frontend/script-for-dual-currency-display-in-bulgaria-bgn-eur

July 31, 2025 · One min read
Pavel Husa

NOTE: This script will automatically switch the price after 1. 1. 2026.

As part of the new legal requirement in Bulgaria to display both BGN and EUR prices, we have prepared a basic JavaScript script that automatically calculates and shows euro prices alongside existing BGN prices. The secondary price is wrapped in the span element with `bgn__secondaryPrice` class, so you can style it right away.

ℹ️ This is an early version — fully functional, but intended as a starting point. Developers can build on it, customize it to fit specific needs, and help us improve it further. Your feedback and suggestions are very welcome! ℹ️

You can see a live example here: [https://732466.myshoptet.com](https://732466.myshoptet.com) .

You can insert the following code in to the footer script section.

```html
<script src="https://cdn.myshoptet.com/prj/dist/master/cms/js/bgnDualPrice.min.js"></script>
<script>shoptet.custom.bgnDualPrice.applyDualPrices();</script>
```

**Tags:**
- [Frontend](/news/tags/frontend/)
