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

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.

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

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

Post navigation