Support

Home Forums Event Espresso Premium Reformat address details

Reformat address details

Posted: June 9, 2017 at 3:02 am

Viewing 7 reply threads


greyowl

June 9, 2017 at 3:02 am

I’ve tried to change the address format for venues according to the snippets in:
https://eventespresso.com/topic/customize-address-format-for-venue/ and
https://eventespresso.com/topic/address-format-for-venue-is-wrong-for-sweden/
by adding the snippets to my functions.php in my child theme and adapting them for CH (Switzerland) but it doesn’t work. Am I missing something?
P.S. Why don’t you include this on the Country settings page, since most countires have that problem?


Tony

  • Support Staff

June 9, 2017 at 3:10 am

Can you link me to the page that shows the incorrect address output so I can see what is happening, please?


greyowl

June 9, 2017 at 5:41 am

http://evmgr.lernen-im-quartier.ch/standorte/
It should be Gartenstrasse 1, 5620 Bremgarten. Not Gartenstrasse 1, Bremgarten, 5620.
etc.


Tony

  • Support Staff

June 9, 2017 at 8:14 am

Have you set the country within the address of the venue?

The functions you mentioned work by checking the country set on the address and then outputting the format for that country, it doesn’t look like you have the country set so the function doesn’t know to format the address.


greyowl

June 9, 2017 at 8:42 am

For the venue addresses, I only have the choice of US or Canada, so I left that unset. How can I enable Switzerland there? I’ve set Switzerland as my country in the EE Country settings.


Tony

  • Support Staff

June 9, 2017 at 8:49 am

Go to Event Espresso -> General Settings -> Countries.

Select Switzerland and the on the left hand side you’ll see an option to enable that country within the dropdown lists, set that to Yes and update.

You can see the option at the top left of the settings here – http://take.ms/YfBxX


greyowl

June 9, 2017 at 9:09 am

Great! That works now. Thanks.

P.S. Why don’t you include the address format on the Country settings page?


Josh

  • Support Staff

June 9, 2017 at 9:34 am

Hi there,

The dev team is working on other tasks at the moment. They do welcome pull requests if you’d like to add those options.

https://github.com/eventespresso/event-espresso-core/

Viewing 7 reply threads

The support post ‘Reformat address details’ 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