Currency not reflecting on the pop up window

Currency not reflecting on the pop up window

IThrill
New Member
5 0 0

Hello,

 

I have installed Bucks currency converter but it is not updating the currency on the pop up page displayed when clicking on choose options button (after clicking on catalog and seeing the list of products)

Click on choose options and see the pop up currency it is back to QAR(local currency) and no more Euro.

IThrill_0-1737706312259.png

see different currencies despite the selection of euro as a website currency:

 

IThrill_1-1737706442233.png

 

Kindly support how to fix it.

 

Thanks

 

Reply 1 (1)

rajweb
Shopify Partner
597 49 117

Hey @IThrill ,

To fix the currency issue in the pop-up:

1. Check Bucks Currency Converter Settings: Ensure Euro is selected as a supported currency and the app is enabled for all product pages and modals.

2. JavaScript Fix: Add custom code to listen for currency changes and update the modal content accordingly. Here's an example script:

$(document).on('currency:change', function(e, currency) {
    if ($('#product-modal').length && $('#product-modal').is(':visible')) {
        setTimeout(function() {
            $('#product-modal').find('.product-price').each(function() {
                $(this).text($(this).data('price-' + currency));
            });
        }, 500);
    }
});

3. Check for Conflicts: Temporarily disable other apps or switch to a default theme (like Dawn) to identify any conflicts.

4. Clear Cache: Clear the cache or test in incognito mode to ensure the latest settings are applied.

 

If the issue persists, please feel free to reach out to Bucks Currency Converter support for more specific assistance, or I can fix the issue for you. If you need further help, don't hesitate to contact me via email. Thank you!

-Need a Shopify developer?
https://rajatweb.dev/
Email: rajat.shopify@gmail.com