Support

Home Forums Event Espresso Premium pounds showing as dollars

pounds showing as dollars

Posted: November 16, 2020 at 2:55 am


prswebsite

November 16, 2020 at 2:55 am

Hi
(WP 5.53, EE 4.10)
I’ve set the currency to pounds (see screenshot of settings)
null

However dollars are being displayed
e.g.
https://dev.prshealthandsafety.co.uk/events/asbestos-awareness/

A further issue is with shortcodes
This test page displays the calendar as an iframe, but not short code
https://dev.prshealthandsafety.co.uk/new/

When I use Chrome to “inspect element”, I can see that the shortcode
has rendered this
<div id=”espresso_calendar” class=”calendar_fullsize”></div>
but it is an empty div

kind regards,
Phil


prswebsite

November 16, 2020 at 5:28 am

Regarding dollars showing rather than pounds – this was because I hadn’t set country in
settings > your organisation > country

– there’s still the shortcode issue however


Tony

  • Support Staff

November 16, 2020 at 5:40 am

Hi Phil,

I’ve set the currency to pounds (see screenshot of settings)

What you’ve done here, is set the US to use GBP and I can tell that from the fact that the US states are loading on the right.

The screen you are on (Event Espresso -> General Settings -> Countries) allows you to set the settings for each specific country. So if you go to the above and select United Kingdom (if you’ve set your address correct in general settings it will be selected by default) you’ll see it has the currency settings set to what we expect in the UK.

However, if you now select the United States in the dropdown at the top, on your site it will likely also show GBP settings for that country. Each individual country you select in the dropdown can have the settings changes in that section, it’s to allow for control various currency settings in each country in case it’s needed (for example if the currency used changed etc).

I recommend your change the settings for the US back to Dollars, note that changing the settings after selecting the United States in the dropdown at the top will NOT change the settings for the UK.

Regarding dollars showing rather than pounds – this was because I hadn’t set country in
settings > your organisation > country

That tells EE which country you are using and it uses the settings specifically for that country mentioned above. It’s the correct fix for this, but I still recommend you fix the currency settings for the US.

The calendar issue on your site is likely from the JavaScript error being thrown by the lc-extensions plugin on your site.

If you open up Chrome Dev Tools and look in the Console you’ll see:


Uncaught Error: Syntax error, unrecognized expression: .lcmenupro-mobile-navigation .lcmenupro-mobile-menu li a[href*=#]:not([href=#])
    at Function.ea.error (jquery.js?ver=1.12.4-wp:2)
    at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
    at ea.select (jquery.js?ver=1.12.4-wp:2)
    at Function.ea [as find] (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.find (jquery.js?ver=1.12.4-wp:2)
    at new n.fn.init (jquery.js?ver=1.12.4-wp:2)
    at n (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.<anonymous> (main.js?ver=1.0.3:34)
    at i (jquery.js?ver=1.12.4-wp:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)

a[href*=#]:not([href=#]) is not valid and needs to be a[href*="#"]:not([href="#"])

The above was a breaking change in jQuery 2.2.4 onwards and has caused that same error in man plugins.

The support post ‘pounds showing as dollars’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 weeks, 2 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!