Posted: January 12, 2022 at 1:26 pm
|
Hello – I have trying to include [QUESTONS_LIST] in my Event Admin and Primary Participant custom messages. I want to include them in my Pending Payment and Payment Received custom messages. The questions are appearing in my Pending Payment custom messages, but not in my Payment Received custom messages for both Event Admin and Primary Participant. I am using the same short codes in both messages. Any idea why they aren’t showing up? I have set up the Event Admin template using the same shortcodes for my Pending Payment and Payment Recieved messages, but the Questions do not show up on |
|
UPDATE: Found the missing shortcode, all is working well. Thank you! |
Hi Jean, I’m glad you found the problem, may I was what was missing? |
|
|
Sure! Under the [Event_List] section, the only shortcode listed was [TICKET_LIST] and I had all of the information listed in the [ATTENDEE_LIST] section, so I changed the shortcode reference and everything appeared as it should. |
Ahh, yeah, that make sense. The payment related emails are typically designed to be focused around the payment itself and the ticket(s) it applies to, so it doesn’t call the ATTENDEE_LIST section by default. Glad you found it anyway, any further questions just let us know 🙂 |
|
|
I do have another issue regarding State Drop down fields not accessible on mobile. Shall I open a separate ticket? |
We don’t have a hard rule on keeping each individual issue in separate threads, as long as the thread isn’t ending up multiple pages long working through multiple issues I’m more than happy to work through them. Is the issue with iOS? Can you link me to an event I can view the problem on? |
|
|
Thank you! |
|
Addition to note above… the States are note appearing in alphabetical order. |
Hmm, ok. Did you migrate from EE3? You seem to have a lot of custom states, is that just from people submitting them from the form? The states are ordered within the query based on the state name already and in alphabetical order, however, when ordering by name the capitalization matters, so: A, Z, B, a, z Is returned from the database when ordered as: A, B, Z, a, z Which explains what is happening with ITALIA and ITALY on your form although as far as I know, those aren’t actually ‘states’, right? In short, it looks like you are getting issues from users submitting their own states incorrectly and it may be better to disable that feature here. |
|
|
Hi Tony |
When you say it’s not working, what is happening? I’m getting the expected behaviour for the state field on mobile. Your testing on iOS so the state field will always show all fields rather than only for the selected country, that’s expected due to how iOS works (it takes over the dropdown fields and displays them using an overlay, which prevents us from filtering them). |
|
|
I am not able to select a state. |
|
I just tried this again on mobile and was getting the same results. When I changed the Country dropdown from United States of America to United States, I was able to add the State. I will try changing the settings for Country to United States in Organizations & Country tabs to see if that solves the problem. |
You can’t type in any of the dropdowns but you’ll only be above to select a state for the selected country. For example, select United Kindom on the country section and then select a UK county in the state field. |
|
|
I have updated the country as mentioned above and it appears to have adjusted the default country on my desktop. I am clearing cache as the United States of America is still appearing on my phone. I would like to remove this option: “click here to add a new state/province” I am also receiving the following message when I try to clean up the states listed in the Country tab: An error has occurred: I have reviewed them several times and still get the same error. Any advice? I appreciate your help. I am trying to publish this event today and would like to get these issues addressed. |
I’m not sure I follow, why would the United States not appear?
You can add this snippet to the site to do that: https://gist.github.com/joshfeck/7bf112ee2dc9e49f7e3f14b8c2b59611 You can add that to a custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/
Can you add a screenshot of the page right from right before you are submitting the changes? https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots |
|
|
This reply has been marked as private. |
You can use another snippet to set the default country: https://gist.github.com/Pebblo/c22413e49e99bc50a07de4494eb088ed — With regards to the state options. The first state is empty (both name and abv) have you tried setting something in those fields before saving? Or, removing that state before saving? |
|
|
Both options worked like a charm! |
You’re most welcome, happy to help 🙂 |
|
The support post ‘Shortcodes not working in Custom Message Templates’ 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.