Support

Home Forums Event Espresso Premium Checkout Page Currency

Checkout Page Currency

Posted: May 20, 2017 at 9:05 am

Viewing 9 reply threads


youngjc345

May 20, 2017 at 9:05 am

Is it possible to display the currency on the checkout page? The ticket selector lists the currency in brackets (USD) but at checkout, it breaks down the charges but does not say the currency.


Josh

  • Support Staff

May 22, 2017 at 8:18 am

Hi there,

You can display the currency there by adding the following code to your website:

https://gist.github.com/joshfeck/d11316439abe6441736ab52d3d66405d

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


youngjc345

May 23, 2017 at 12:39 am

Hey Josh,

Added to functions.php of child theme, no change applied.
Example


youngjc345

May 23, 2017 at 12:43 am

example


Josh

  • Support Staff

May 23, 2017 at 5:46 am

Hi there,

The code I gave you will actually not change anything on the Attendee Information steps. It’s for the next step that has the payment options.


youngjc345

May 23, 2017 at 5:49 am

Hey Josh,

I can confirm that it does not display on final checkout page either. Will attach screenshot shortly


Josh

  • Support Staff

May 23, 2017 at 5:54 am

Hey there,

I can confirm that it does display on the website where I test and develop. Did you activate the code and confirm that it’s actually loading on the page?


youngjc345

May 23, 2017 at 9:05 am

looks like the git was updated and works fine now.

Thanks!


youngjc345

May 25, 2017 at 10:21 am

Just noticed an issue, when a payment option is selected Ajax is called and the function executes and an additional USD appends total resulting in multiple “(USD)” in total. If payment method is change an additional “(USD)” appears


Josh

  • Support Staff

May 25, 2017 at 1:17 pm

The gist has been updated to prevent that from happening.

https://gist.github.com/joshfeck/d11316439abe6441736ab52d3d66405d

Viewing 9 reply threads

The support post ‘Checkout Page Currency’ 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.

Event Espresso